nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1560053 bytes 279699727 (266.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 878286 bytes 168744407 (160.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 547598 bytes 97115000 (92.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 547598 bytes 97115000 (92.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1560200 bytes 279728816 (266.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 878423 bytes 168766814 (160.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 547714 bytes 97134714 (92.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 547714 bytes 97134714 (92.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1560295 bytes 279744867 (266.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 878471 bytes 168773775 (160.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 547714 bytes 97134714 (92.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 547714 bytes 97134714 (92.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1560428 bytes 279770025 (266.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 878591 bytes 168792986 (160.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 547830 bytes 97154532 (92.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 547830 bytes 97154532 (92.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux b'Error on request' Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1560516 bytes 279785409 (266.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 878640 bytes 168800062 (160.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 547830 bytes 97154532 (92.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 547830 bytes 97154532 (92.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1560655 bytes 279811171 (266.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 878758 bytes 168819118 (160.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 547946 bytes 97174350 (92.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 547946 bytes 97174350 (92.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1560750 bytes 279827186 (266.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 878813 bytes 168826632 (161.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 547946 bytes 97174350 (92.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 547946 bytes 97174350 (92.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1560882 bytes 279852299 (266.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 878926 bytes 168845126 (161.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 548056 bytes 97193736 (92.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548056 bytes 97193736 (92.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1560977 bytes 279868205 (266.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 878979 bytes 168852535 (161.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 548056 bytes 97193736 (92.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548056 bytes 97193736 (92.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1561112 bytes 279893618 (266.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 879096 bytes 168871465 (161.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 548172 bytes 97213482 (92.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548172 bytes 97213482 (92.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1561207 bytes 279909643 (266.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 879146 bytes 168878559 (161.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 548173 bytes 97213542 (92.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548173 bytes 97213542 (92.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1561380 bytes 279943200 (266.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 879305 bytes 168904771 (161.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 548289 bytes 97233256 (92.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548289 bytes 97233256 (92.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux b'Error on request' Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1561490 bytes 279960359 (266.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 879361 bytes 168912458 (161.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 548289 bytes 97233256 (92.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548289 bytes 97233256 (92.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1561620 bytes 279985403 (267.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 879468 bytes 168930492 (161.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 548397 bytes 97252498 (92.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548397 bytes 97252498 (92.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1561704 bytes 280000555 (267.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 879524 bytes 168938034 (161.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 548397 bytes 97252498 (92.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548397 bytes 97252498 (92.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1561839 bytes 280025996 (267.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 879635 bytes 168956488 (161.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 548509 bytes 97272028 (92.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548509 bytes 97272028 (92.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1561934 bytes 280041947 (267.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 879696 bytes 168964465 (161.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 548509 bytes 97272028 (92.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548509 bytes 97272028 (92.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1562067 bytes 280067166 (267.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 879805 bytes 168982830 (161.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 548621 bytes 97291558 (92.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548621 bytes 97291558 (92.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1562164 bytes 280083298 (267.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 879862 bytes 168990595 (161.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 548621 bytes 97291558 (92.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548621 bytes 97291558 (92.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1562298 bytes 280108486 (267.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 879971 bytes 169008737 (161.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 548731 bytes 97310944 (92.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548731 bytes 97310944 (92.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1562393 bytes 280124567 (267.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 880030 bytes 169016689 (161.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 548731 bytes 97310944 (92.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548731 bytes 97310944 (92.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1562527 bytes 280151711 (267.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 880138 bytes 169034901 (161.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 548851 bytes 97330934 (92.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548851 bytes 97330934 (92.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1562638 bytes 280172207 (267.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 880210 bytes 169045839 (161.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 548855 bytes 97331150 (92.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548855 bytes 97331150 (92.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1562787 bytes 280201252 (267.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 880352 bytes 169068766 (161.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 548966 bytes 97350608 (92.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548966 bytes 97350608 (92.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1562874 bytes 280216561 (267.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 880401 bytes 169075804 (161.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 548966 bytes 97350608 (92.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548966 bytes 97350608 (92.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1563008 bytes 280241748 (267.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 880516 bytes 169094404 (161.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 549074 bytes 97369850 (92.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 549074 bytes 97369850 (92.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux b'Error on request' Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1563106 bytes 280258002 (267.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 880573 bytes 169102237 (161.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 549074 bytes 97369850 (92.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 549074 bytes 97369850 (92.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1563250 bytes 280283903 (267.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 880685 bytes 169120664 (161.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 549179 bytes 97388876 (92.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 549179 bytes 97388876 (92.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1563439 bytes 280309637 (267.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 881000 bytes 169485004 (161.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 549270 bytes 97736605 (93.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 549270 bytes 97736605 (93.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1563588 bytes 280335970 (267.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 881118 bytes 169504031 (161.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 549384 bytes 97756279 (93.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 549384 bytes 97756279 (93.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1563694 bytes 280352444 (267.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 881167 bytes 169511054 (161.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 549384 bytes 97756279 (93.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 549384 bytes 97756279 (93.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1563828 bytes 280377591 (267.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 881281 bytes 169529789 (161.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 549491 bytes 97775449 (93.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 549491 bytes 97775449 (93.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1563954 bytes 280398579 (267.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 881357 bytes 169541029 (161.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 549497 bytes 97775777 (93.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 549497 bytes 97775777 (93.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1564087 bytes 280423684 (267.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 881461 bytes 169558750 (161.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 549606 bytes 97794987 (93.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 549606 bytes 97794987 (93.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1564185 bytes 280440083 (267.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 881515 bytes 169566204 (161.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 549608 bytes 97795107 (93.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 549608 bytes 97795107 (93.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1564338 bytes 280469357 (267.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 881650 bytes 169588388 (161.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 549718 bytes 97814493 (93.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 549718 bytes 97814493 (93.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1564440 bytes 280485672 (267.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 881706 bytes 169595971 (161.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 549718 bytes 97814493 (93.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 549718 bytes 97814493 (93.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1564580 bytes 280511328 (267.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 881823 bytes 169614952 (161.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 549829 bytes 97833951 (93.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 549829 bytes 97833951 (93.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1564678 bytes 280527488 (267.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 881880 bytes 169622718 (161.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 549829 bytes 97833951 (93.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 549829 bytes 97833951 (93.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1564806 bytes 280552215 (267.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 881985 bytes 169640597 (161.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 549934 bytes 97852977 (93.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 549934 bytes 97852977 (93.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1564908 bytes 280568691 (267.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 882045 bytes 169648595 (161.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 549934 bytes 97852977 (93.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 549934 bytes 97852977 (93.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1565042 bytes 280593870 (267.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 882149 bytes 169666400 (161.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 550038 bytes 97871931 (93.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550038 bytes 97871931 (93.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1565161 bytes 280614413 (267.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 882222 bytes 169677386 (161.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 550044 bytes 97872259 (93.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550044 bytes 97872259 (93.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1565294 bytes 280639776 (267.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 882339 bytes 169696387 (161.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 550155 bytes 97891717 (93.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550155 bytes 97891717 (93.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1565389 bytes 280655440 (267.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 882386 bytes 169703293 (161.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 550155 bytes 97891717 (93.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550155 bytes 97891717 (93.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1565519 bytes 280680471 (267.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 882502 bytes 169722027 (161.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 550268 bytes 97911271 (93.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550268 bytes 97911271 (93.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1565615 bytes 280696675 (267.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 882549 bytes 169728934 (161.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 550271 bytes 97911451 (93.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550271 bytes 97911451 (93.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1565776 bytes 280728820 (267.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 882700 bytes 169752658 (161.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 550380 bytes 97930765 (93.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550380 bytes 97930765 (93.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1565878 bytes 280747317 (267.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 882753 bytes 169760138 (161.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 550380 bytes 97930765 (93.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550380 bytes 97930765 (93.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1566008 bytes 280774254 (267.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 882866 bytes 169778655 (161.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 550490 bytes 97950151 (93.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550490 bytes 97950151 (93.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1566113 bytes 280792789 (267.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 882923 bytes 169786406 (161.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 550490 bytes 97950151 (93.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550490 bytes 97950151 (93.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1566242 bytes 280819359 (267.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 883033 bytes 169804676 (161.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 550598 bytes 97969393 (93.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550598 bytes 97969393 (93.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1566359 bytes 280839859 (267.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 883111 bytes 169816000 (161.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 550604 bytes 97969721 (93.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550604 bytes 97969721 (93.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux b'Error on request' Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1566485 bytes 280864540 (267.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 883216 bytes 169833851 (161.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 550713 bytes 97989035 (93.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550713 bytes 97989035 (93.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1566584 bytes 280882740 (267.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 883277 bytes 169841943 (161.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 550713 bytes 97989035 (93.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550713 bytes 97989035 (93.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1566717 bytes 280909741 (267.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 883382 bytes 169859834 (161.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 550817 bytes 98007989 (93.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550817 bytes 98007989 (93.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1566812 bytes 280925582 (267.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 883437 bytes 169867331 (161.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 550817 bytes 98007989 (93.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550817 bytes 98007989 (93.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1566954 bytes 280951568 (267.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 883548 bytes 169886036 (162.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 550924 bytes 98027135 (93.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550924 bytes 98027135 (93.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux b'Error on request' Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1567051 bytes 280967791 (267.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 883605 bytes 169893801 (162.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 550928 bytes 98027375 (93.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550928 bytes 98027375 (93.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1567180 bytes 280994713 (267.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 883713 bytes 169912022 (162.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 551038 bytes 98046749 (93.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 551038 bytes 98046749 (93.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1567303 bytes 281015288 (267.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 883792 bytes 169923396 (162.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 551038 bytes 98046749 (93.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 551038 bytes 98046749 (93.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1567435 bytes 281040365 (268.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 883902 bytes 169941598 (162.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 551146 bytes 98065991 (93.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 551146 bytes 98065991 (93.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1567539 bytes 281057084 (268.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 883953 bytes 169948909 (162.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 551149 bytes 98066163 (93.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 551149 bytes 98066163 (93.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1567684 bytes 281085801 (268.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 884083 bytes 169970738 (162.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 551259 bytes 98085489 (93.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 551259 bytes 98085489 (93.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1567779 bytes 281101813 (268.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 884132 bytes 169977771 (162.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 551259 bytes 98085489 (93.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 551259 bytes 98085489 (93.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1567912 bytes 281128821 (268.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 884253 bytes 169996994 (162.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 551369 bytes 98104875 (93.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 551369 bytes 98104875 (93.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1568006 bytes 281144537 (268.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 884304 bytes 170004123 (162.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 551369 bytes 98104875 (93.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 551369 bytes 98104875 (93.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1568150 bytes 281172605 (268.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 884429 bytes 170023728 (162.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 551476 bytes 98124045 (93.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 551476 bytes 98124045 (93.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1568242 bytes 281188333 (268.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 884479 bytes 170030980 (162.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 551476 bytes 98124045 (93.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 551476 bytes 98124045 (93.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1568379 bytes 281215863 (268.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 884598 bytes 170050059 (162.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 551584 bytes 98143287 (93.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 551584 bytes 98143287 (93.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1568478 bytes 281232266 (268.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 884651 bytes 170057304 (162.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 551590 bytes 98143647 (93.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 551590 bytes 98143647 (93.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1568613 bytes 281257609 (268.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 884761 bytes 170075589 (162.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 551703 bytes 98163237 (93.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 551703 bytes 98163237 (93.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1568733 bytes 281280051 (268.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 884841 bytes 170087182 (162.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 551703 bytes 98163237 (93.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 551703 bytes 98163237 (93.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1568885 bytes 281311146 (268.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 884969 bytes 170109033 (162.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 551819 bytes 98182951 (93.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 551819 bytes 98182951 (93.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1568985 bytes 281329258 (268.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 885025 bytes 170116655 (162.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 551819 bytes 98182951 (93.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 551819 bytes 98182951 (93.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1569115 bytes 281354128 (268.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 885134 bytes 170134773 (162.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 551931 bytes 98202481 (93.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 551931 bytes 98202481 (93.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1569215 bytes 281370287 (268.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 885190 bytes 170142319 (162.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 551931 bytes 98202481 (93.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 551931 bytes 98202481 (93.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1569353 bytes 281396194 (268.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 885313 bytes 170161743 (162.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 552042 bytes 98221939 (93.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552042 bytes 98221939 (93.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1569452 bytes 281414367 (268.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 885371 bytes 170169590 (162.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 552042 bytes 98221939 (93.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552042 bytes 98221939 (93.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1569584 bytes 281441197 (268.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 885482 bytes 170188060 (162.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 552150 bytes 98241181 (93.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552150 bytes 98241181 (93.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1569685 bytes 281459373 (268.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 885538 bytes 170195650 (162.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 552150 bytes 98241181 (93.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552150 bytes 98241181 (93.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1569818 bytes 281486391 (268.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 885645 bytes 170213719 (162.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 552261 bytes 98260639 (93.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552261 bytes 98260639 (93.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1569925 bytes 281505596 (268.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 885697 bytes 170221045 (162.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 552267 bytes 98260999 (93.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552267 bytes 98260999 (93.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1570081 bytes 281537146 (268.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 885835 bytes 170243660 (162.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 552382 bytes 98280629 (93.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552382 bytes 98280629 (93.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux b'Error on request' Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1570195 bytes 281557106 (268.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 885912 bytes 170254919 (162.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 552382 bytes 98280629 (93.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552382 bytes 98280629 (93.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1570327 bytes 281582091 (268.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 886028 bytes 170273644 (162.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 552495 bytes 98300231 (93.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552495 bytes 98300231 (93.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1570425 bytes 281597939 (268.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 886076 bytes 170280640 (162.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 552495 bytes 98300231 (93.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552495 bytes 98300231 (93.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1570568 bytes 281626022 (268.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 886195 bytes 170299861 (162.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 552603 bytes 98319525 (93.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552603 bytes 98319525 (93.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1570670 bytes 281644256 (268.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 886245 bytes 170307106 (162.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 552603 bytes 98319525 (93.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552603 bytes 98319525 (93.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1570802 bytes 281669377 (268.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 886358 bytes 170325606 (162.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 552715 bytes 98339055 (93.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552715 bytes 98339055 (93.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1570899 bytes 281687137 (268.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 886407 bytes 170332611 (162.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 552715 bytes 98339055 (93.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552715 bytes 98339055 (93.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1571086 bytes 281728896 (268.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 886604 bytes 170410830 (162.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 552824 bytes 98358325 (93.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552824 bytes 98358325 (93.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1571214 bytes 281753283 (268.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 886708 bytes 170474140 (162.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 552824 bytes 98358325 (93.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552824 bytes 98358325 (93.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1571373 bytes 281784946 (268.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 886843 bytes 170496656 (162.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 552943 bytes 98378255 (93.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552943 bytes 98378255 (93.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1571475 bytes 281803754 (268.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 886905 bytes 170504838 (162.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 552948 bytes 98378555 (93.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552948 bytes 98378555 (93.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1571610 bytes 281830964 (268.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 887010 bytes 170522752 (162.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 553060 bytes 98398061 (93.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 553060 bytes 98398061 (93.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux b'Error on request' Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1571727 bytes 281851398 (268.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 887091 bytes 170534289 (162.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 553060 bytes 98398061 (93.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 553060 bytes 98398061 (93.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1571866 bytes 281879049 (268.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 887204 bytes 170552961 (162.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 553169 bytes 98417375 (93.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 553169 bytes 98417375 (93.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1571965 bytes 281895303 (268.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 887261 bytes 170560730 (162.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 553169 bytes 98417375 (93.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 553169 bytes 98417375 (93.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1572103 bytes 281920715 (268.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 887373 bytes 170579070 (162.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 553278 bytes 98436689 (93.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 553278 bytes 98436689 (93.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1572204 bytes 281938803 (268.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 887433 bytes 170587092 (162.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 553278 bytes 98436689 (93.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 553278 bytes 98436689 (93.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1572336 bytes 281963807 (268.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 887538 bytes 170604999 (162.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 553387 bytes 98456003 (93.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 553387 bytes 98456003 (93.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1572440 bytes 281982638 (268.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 887596 bytes 170612916 (162.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 553387 bytes 98456003 (93.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 553387 bytes 98456003 (93.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1572578 bytes 282010095 (268.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 887714 bytes 170631968 (162.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 553500 bytes 98475561 (93.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 553500 bytes 98475561 (93.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1572694 bytes 282032154 (268.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 887786 bytes 170642876 (162.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 553503 bytes 98475717 (93.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 553503 bytes 98475717 (93.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1572836 bytes 282059973 (268.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 887904 bytes 170661863 (162.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 553613 bytes 98495103 (93.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 553613 bytes 98495103 (93.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1572929 bytes 282077755 (269.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 887952 bytes 170668840 (162.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 553617 bytes 98495343 (93.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 553617 bytes 98495343 (93.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1573064 bytes 282105166 (269.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 888070 bytes 170687761 (162.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 553727 bytes 98514693 (93.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 553727 bytes 98514693 (93.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1573183 bytes 282127508 (269.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 888146 bytes 170699032 (162.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 553727 bytes 98514693 (93.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 553727 bytes 98514693 (93.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1573319 bytes 282155000 (269.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 888264 bytes 170718059 (162.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 553836 bytes 98534007 (93.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 553836 bytes 98534007 (93.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1573417 bytes 282171191 (269.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 888318 bytes 170725520 (162.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 553836 bytes 98534007 (93.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 553836 bytes 98534007 (93.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1573554 bytes 282196712 (269.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 888429 bytes 170743953 (162.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 553943 bytes 98553177 (93.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 553943 bytes 98553177 (93.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1573655 bytes 282215104 (269.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 888480 bytes 170751120 (162.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 553943 bytes 98553177 (93.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 553943 bytes 98553177 (93.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1573791 bytes 282242244 (269.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 888591 bytes 170769611 (162.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 554051 bytes 98572419 (94.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554051 bytes 98572419 (94.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1573908 bytes 282264516 (269.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 888673 bytes 170781297 (162.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 554057 bytes 98572747 (94.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554057 bytes 98572747 (94.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1574045 bytes 282291881 (269.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 888776 bytes 170799040 (162.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 554166 bytes 98592061 (94.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554166 bytes 98592061 (94.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1574146 bytes 282310274 (269.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 888837 bytes 170807137 (162.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 554166 bytes 98592061 (94.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554166 bytes 98592061 (94.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1574283 bytes 282337762 (269.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 888953 bytes 170825816 (162.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 554275 bytes 98611367 (94.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554275 bytes 98611367 (94.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1574374 bytes 282355832 (269.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 889012 bytes 170833737 (162.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 554276 bytes 98611427 (94.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554276 bytes 98611427 (94.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1574509 bytes 282383019 (269.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 889120 bytes 170851850 (162.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 554387 bytes 98630825 (94.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554387 bytes 98630825 (94.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1574600 bytes 282398531 (269.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 889178 bytes 170859708 (162.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 554388 bytes 98630885 (94.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554388 bytes 98630885 (94.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1574752 bytes 282429766 (269.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 889312 bytes 170881849 (162.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 554500 bytes 98650415 (94.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554500 bytes 98650415 (94.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1574843 bytes 282447650 (269.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 889365 bytes 170889249 (162.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 554500 bytes 98650415 (94.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554500 bytes 98650415 (94.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1574931 bytes 282464937 (269.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 889416 bytes 170896387 (162.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 554500 bytes 98650415 (94.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554500 bytes 98650415 (94.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1575081 bytes 282496437 (269.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 889552 bytes 170918986 (163.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 554619 bytes 98670345 (94.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554619 bytes 98670345 (94.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1575218 bytes 282523864 (269.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 889668 bytes 170937755 (163.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 554724 bytes 98689371 (94.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554724 bytes 98689371 (94.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1575312 bytes 282541792 (269.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 889723 bytes 170945393 (163.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 554724 bytes 98689371 (94.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554724 bytes 98689371 (94.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1575444 bytes 282568866 (269.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 889840 bytes 170964243 (163.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 554838 bytes 98709045 (94.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554838 bytes 98709045 (94.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1575535 bytes 282586536 (269.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 889891 bytes 170971574 (163.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 554838 bytes 98709045 (94.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554838 bytes 98709045 (94.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1575656 bytes 282609165 (269.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 889975 bytes 170984704 (163.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 554892 bytes 98718398 (94.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554892 bytes 98718398 (94.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1575774 bytes 282632335 (269.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 890064 bytes 170998294 (163.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 554949 bytes 98728503 (94.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554949 bytes 98728503 (94.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1575910 bytes 282660070 (269.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 890174 bytes 171016625 (163.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 555066 bytes 98748321 (94.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 555066 bytes 98748321 (94.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1576006 bytes 282678395 (269.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 890231 bytes 171024408 (163.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 555067 bytes 98748381 (94.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 555067 bytes 98748381 (94.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1576133 bytes 282704371 (269.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 890334 bytes 171040878 (163.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 555125 bytes 98758022 (94.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 555125 bytes 98758022 (94.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1576255 bytes 282730347 (269.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 890446 bytes 171058229 (163.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 555190 bytes 98768599 (94.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 555190 bytes 98768599 (94.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1576394 bytes 282757983 (269.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 890561 bytes 171077044 (163.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 555302 bytes 98788129 (94.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 555302 bytes 98788129 (94.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1576481 bytes 282775321 (269.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 890617 bytes 171084623 (163.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 555302 bytes 98788129 (94.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 555302 bytes 98788129 (94.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1576624 bytes 282801519 (269.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 890736 bytes 171103732 (163.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 555409 bytes 98807299 (94.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 555409 bytes 98807299 (94.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1576724 bytes 282819731 (269.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 890796 bytes 171111660 (163.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 555409 bytes 98807299 (94.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 555409 bytes 98807299 (94.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1576853 bytes 282846524 (269.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 890900 bytes 171129525 (163.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 555522 bytes 98826901 (94.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 555522 bytes 98826901 (94.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1576945 bytes 282864183 (269.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 890957 bytes 171137150 (163.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 555522 bytes 98826901 (94.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 555522 bytes 98826901 (94.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1577076 bytes 282890844 (269.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 891060 bytes 171154925 (163.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 555635 bytes 98846503 (94.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 555635 bytes 98846503 (94.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1577180 bytes 282909703 (269.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 891121 bytes 171163006 (163.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 555635 bytes 98846503 (94.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 555635 bytes 98846503 (94.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1577319 bytes 282937285 (269.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 891228 bytes 171180760 (163.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 555745 bytes 98865817 (94.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 555745 bytes 98865817 (94.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1577415 bytes 282955167 (269.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 891278 bytes 171187985 (163.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 555749 bytes 98866049 (94.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 555749 bytes 98866049 (94.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1577589 bytes 282990863 (269.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 891440 bytes 171214412 (163.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 555861 bytes 98885519 (94.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 555861 bytes 98885519 (94.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1577690 bytes 283009209 (269.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 891494 bytes 171222005 (163.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 555861 bytes 98885519 (94.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 555861 bytes 98885519 (94.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1577828 bytes 283036871 (269.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 891614 bytes 171241113 (163.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 555976 bytes 98905265 (94.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 555976 bytes 98905265 (94.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1577926 bytes 283054906 (269.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 891671 bytes 171249009 (163.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 555976 bytes 98905265 (94.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 555976 bytes 98905265 (94.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux b'Error on request' Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1578062 bytes 283080349 (269.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 891781 bytes 171267288 (163.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 556082 bytes 98924363 (94.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556082 bytes 98924363 (94.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1578156 bytes 283098033 (269.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 891833 bytes 171274485 (163.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 556082 bytes 98924363 (94.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556082 bytes 98924363 (94.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1578287 bytes 283125203 (270.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 891952 bytes 171293586 (163.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 556191 bytes 98943677 (94.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556191 bytes 98943677 (94.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1578389 bytes 283143704 (270.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 892003 bytes 171300777 (163.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 556191 bytes 98943677 (94.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556191 bytes 98943677 (94.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1578529 bytes 283171346 (270.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 892113 bytes 171319068 (163.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 556301 bytes 98963063 (94.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556301 bytes 98963063 (94.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1578622 bytes 283189429 (270.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 892169 bytes 171326789 (163.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 556301 bytes 98963063 (94.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556301 bytes 98963063 (94.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1578734 bytes 283211349 (270.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 892242 bytes 171337803 (163.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 556312 bytes 98963691 (94.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556312 bytes 98963691 (94.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1578873 bytes 283238931 (270.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 892362 bytes 171356958 (163.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 556428 bytes 98983485 (94.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556428 bytes 98983485 (94.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1579030 bytes 283270577 (270.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 892493 bytes 171378852 (163.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 556535 bytes 99002655 (94.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556535 bytes 99002655 (94.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1579130 bytes 283288812 (270.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 892550 bytes 171386646 (163.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 556535 bytes 99002655 (94.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556535 bytes 99002655 (94.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1579227 bytes 283306693 (270.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 892598 bytes 171393615 (163.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 556535 bytes 99002655 (94.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556535 bytes 99002655 (94.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1579359 bytes 283334209 (270.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 892714 bytes 171412429 (163.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 556638 bytes 99021493 (94.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556638 bytes 99021493 (94.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1579448 bytes 283351285 (270.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 892763 bytes 171419416 (163.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 556638 bytes 99021493 (94.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556638 bytes 99021493 (94.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1579588 bytes 283379268 (270.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 892876 bytes 171438017 (163.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 556746 bytes 99040735 (94.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556746 bytes 99040735 (94.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1579683 bytes 283396980 (270.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 892927 bytes 171445163 (163.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 556746 bytes 99040735 (94.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556746 bytes 99040735 (94.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux b'Error on request' Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1579815 bytes 283422091 (270.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 893027 bytes 171462816 (163.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 556857 bytes 99060193 (94.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556857 bytes 99060193 (94.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1579936 bytes 283444565 (270.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 893108 bytes 171474408 (163.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 556864 bytes 99060573 (94.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556864 bytes 99060573 (94.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1580079 bytes 283472168 (270.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 893220 bytes 171492612 (163.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 556974 bytes 99079959 (94.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556974 bytes 99079959 (94.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1580183 bytes 283491071 (270.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 893280 bytes 171500513 (163.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 556978 bytes 99080199 (94.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556978 bytes 99080199 (94.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1580321 bytes 283518841 (270.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 893397 bytes 171519577 (163.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 557089 bytes 99099621 (94.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557089 bytes 99099621 (94.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1580415 bytes 283536485 (270.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 893455 bytes 171527440 (163.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 557089 bytes 99099621 (94.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557089 bytes 99099621 (94.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1580570 bytes 283567983 (270.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 893591 bytes 171549786 (163.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 557196 bytes 99118791 (94.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557196 bytes 99118791 (94.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1580668 bytes 283585905 (270.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 893646 bytes 171557215 (163.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 557196 bytes 99118791 (94.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557196 bytes 99118791 (94.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1580801 bytes 283613300 (270.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 893758 bytes 171575724 (163.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 557308 bytes 99138321 (94.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557308 bytes 99138321 (94.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1580894 bytes 283631128 (270.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 893813 bytes 171583405 (163.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 557308 bytes 99138321 (94.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557308 bytes 99138321 (94.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1581032 bytes 283658627 (270.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 893928 bytes 171602068 (163.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 557411 bytes 99157203 (94.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557411 bytes 99157203 (94.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1581156 bytes 283681311 (270.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 894006 bytes 171613556 (163.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 557418 bytes 99157583 (94.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557418 bytes 99157583 (94.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1581277 bytes 283703732 (270.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 894094 bytes 171626854 (163.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 557471 bytes 99166864 (94.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557471 bytes 99166864 (94.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1581409 bytes 283727751 (270.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 894177 bytes 171639799 (163.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 557525 bytes 99176753 (94.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557525 bytes 99176753 (94.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1581534 bytes 283751472 (270.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 894270 bytes 171653769 (163.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 557582 bytes 99186858 (94.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557582 bytes 99186858 (94.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1581651 bytes 283774208 (270.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 894346 bytes 171666237 (163.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 557637 bytes 99196283 (94.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557637 bytes 99196283 (94.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1581794 bytes 283802210 (270.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 894469 bytes 171685694 (163.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 557756 bytes 99216245 (94.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557756 bytes 99216245 (94.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1581887 bytes 283819799 (270.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 894517 bytes 171692646 (163.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 557757 bytes 99216305 (94.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557757 bytes 99216305 (94.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1582001 bytes 283841827 (270.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 894598 bytes 171704147 (163.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 557757 bytes 99216305 (94.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557757 bytes 99216305 (94.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1582133 bytes 283868820 (270.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 894703 bytes 171722029 (163.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 557872 bytes 99236051 (94.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557872 bytes 99236051 (94.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1582225 bytes 283886917 (270.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 894757 bytes 171729625 (163.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 557872 bytes 99236051 (94.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557872 bytes 99236051 (94.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1582346 bytes 283909602 (270.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 894846 bytes 171743009 (163.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 557933 bytes 99245864 (94.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557933 bytes 99245864 (94.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1582487 bytes 283937107 (270.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 894955 bytes 171760170 (163.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 557993 bytes 99256105 (94.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557993 bytes 99256105 (94.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1582590 bytes 283955552 (270.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 895013 bytes 171767898 (163.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 557993 bytes 99256105 (94.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557993 bytes 99256105 (94.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1582715 bytes 283982318 (270.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 895120 bytes 171786073 (163.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 558103 bytes 99275491 (94.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 558103 bytes 99275491 (94.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1582813 bytes 284000011 (270.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 895173 bytes 171793403 (163.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 558103 bytes 99275491 (94.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 558103 bytes 99275491 (94.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1582953 bytes 284027748 (270.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 895290 bytes 171812365 (163.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 558214 bytes 99294949 (94.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 558214 bytes 99294949 (94.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1583086 bytes 284053994 (270.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 895394 bytes 171876209 (163.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 558214 bytes 99294949 (94.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 558214 bytes 99294949 (94.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1583230 bytes 284084545 (270.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 895527 bytes 171945581 (163.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 558273 bytes 99305126 (94.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 558273 bytes 99305126 (94.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1583377 bytes 284114682 (270.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 895666 bytes 172015483 (164.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 558326 bytes 99314395 (94.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 558326 bytes 99314395 (94.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1583540 bytes 284149197 (270.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 895827 bytes 172089008 (164.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 558381 bytes 99324356 (94.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 558381 bytes 99324356 (94.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1583708 bytes 284184127 (271.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 896012 bytes 172215013 (164.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 558439 bytes 99333997 (94.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 558439 bytes 99333997 (94.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1583897 bytes 284223442 (271.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 896205 bytes 172294430 (164.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 558558 bytes 99353907 (94.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 558558 bytes 99353907 (94.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1584032 bytes 284251651 (271.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 896317 bytes 172358778 (164.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 558558 bytes 99353907 (94.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 558558 bytes 99353907 (94.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1584159 bytes 284277248 (271.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 896428 bytes 172423249 (164.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 558558 bytes 99353907 (94.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 558558 bytes 99353907 (94.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1584315 bytes 284311444 (271.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 896594 bytes 172498399 (164.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 558672 bytes 99373581 (94.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 558672 bytes 99373581 (94.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1584442 bytes 284337089 (271.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 896708 bytes 172563103 (164.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 558672 bytes 99373581 (94.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 558672 bytes 99373581 (94.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1584603 bytes 284371641 (271.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 896868 bytes 172637749 (164.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 558781 bytes 99392895 (94.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 558781 bytes 99392895 (94.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1584762 bytes 284403634 (271.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 897031 bytes 172758844 (164.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 558781 bytes 99392895 (94.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 558781 bytes 99392895 (94.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1584942 bytes 284441961 (271.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 897220 bytes 172884953 (164.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 558836 bytes 99402856 (94.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 558836 bytes 99402856 (94.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1585089 bytes 284472184 (271.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 897358 bytes 172954793 (164.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 558899 bytes 99412785 (94.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 558899 bytes 99412785 (94.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1585214 bytes 284497731 (271.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 897466 bytes 173018846 (165.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 558900 bytes 99412845 (94.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 558900 bytes 99412845 (94.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1585428 bytes 284541722 (271.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 897681 bytes 173102014 (165.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 559015 bytes 99432487 (94.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559015 bytes 99432487 (94.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1585558 bytes 284567518 (271.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 897794 bytes 173166466 (165.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 559015 bytes 99432487 (94.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559015 bytes 99432487 (94.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1585731 bytes 284603142 (271.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 897965 bytes 173242127 (165.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 559125 bytes 99451873 (94.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559125 bytes 99451873 (94.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1585856 bytes 284628463 (271.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 898074 bytes 173306297 (165.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 559125 bytes 99451873 (94.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559125 bytes 99451873 (94.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1586056 bytes 284668724 (271.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 898283 bytes 173437258 (165.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 559234 bytes 99471187 (94.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559234 bytes 99471187 (94.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1586191 bytes 284696895 (271.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 898395 bytes 173501598 (165.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 559234 bytes 99471187 (94.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559234 bytes 99471187 (94.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1586351 bytes 284729731 (271.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 898561 bytes 173576984 (165.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 559349 bytes 99490933 (94.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559349 bytes 99490933 (94.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1586474 bytes 284755267 (271.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 898670 bytes 173641134 (165.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 559349 bytes 99490933 (94.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559349 bytes 99490933 (94.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1586602 bytes 284781301 (271.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 898781 bytes 173705654 (165.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 559349 bytes 99490933 (94.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559349 bytes 99490933 (94.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1586775 bytes 284816903 (271.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 898940 bytes 173780210 (165.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 559460 bytes 99510391 (94.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559460 bytes 99510391 (94.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1586918 bytes 284846458 (271.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 899077 bytes 173848663 (165.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 559471 bytes 99511019 (94.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559471 bytes 99511019 (94.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1587064 bytes 284876166 (271.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 899209 bytes 173917838 (165.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 559529 bytes 99520636 (94.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559529 bytes 99520636 (94.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1587231 bytes 284910978 (271.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 899373 bytes 173991740 (165.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 559582 bytes 99530453 (94.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559582 bytes 99530453 (94.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1587359 bytes 284938663 (271.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 899480 bytes 174055692 (165.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 559582 bytes 99530453 (94.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559582 bytes 99530453 (94.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1587531 bytes 284974083 (271.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 899653 bytes 174131478 (166.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 559689 bytes 99549623 (94.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559689 bytes 99549623 (94.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1587672 bytes 285003578 (271.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 899784 bytes 174200613 (166.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 559746 bytes 99559192 (94.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559746 bytes 99559192 (94.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1587843 bytes 285040021 (271.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 899958 bytes 174276501 (166.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 559862 bytes 99579546 (94.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559862 bytes 99579546 (94.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1587982 bytes 285069424 (271.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 900090 bytes 174345710 (166.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 559919 bytes 99589115 (94.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559919 bytes 99589115 (94.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1588109 bytes 285094904 (271.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 900201 bytes 174410192 (166.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 559919 bytes 99589115 (94.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559919 bytes 99589115 (94.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1588232 bytes 285120252 (271.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 900312 bytes 174474608 (166.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 559919 bytes 99589115 (94.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559919 bytes 99589115 (94.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1588397 bytes 285155104 (271.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 900474 bytes 174549550 (166.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 560036 bytes 99608961 (94.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 560036 bytes 99608961 (94.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1588592 bytes 285195541 (271.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 900687 bytes 174679618 (166.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 560092 bytes 99618890 (95.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 560092 bytes 99618890 (95.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1588736 bytes 285227836 (272.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 900825 bytes 174749289 (166.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 560149 bytes 99628411 (95.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 560149 bytes 99628411 (95.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1588875 bytes 285255063 (272.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 900956 bytes 174818467 (166.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 560207 bytes 99638016 (95.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 560207 bytes 99638016 (95.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1589026 bytes 285285832 (272.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 901088 bytes 174887765 (166.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 560262 bytes 99647977 (95.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 560262 bytes 99647977 (95.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1589171 bytes 285315180 (272.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 901221 bytes 174955775 (166.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 560262 bytes 99647977 (95.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 560262 bytes 99647977 (95.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux b'Error on request' Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1589343 bytes 285351185 (272.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 901389 bytes 175031145 (166.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 560370 bytes 99667219 (95.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 560370 bytes 99667219 (95.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1589465 bytes 285376324 (272.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 901496 bytes 175095135 (166.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 560370 bytes 99667219 (95.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 560370 bytes 99667219 (95.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1589631 bytes 285411378 (272.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 901665 bytes 175170723 (167.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 560480 bytes 99686605 (95.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 560480 bytes 99686605 (95.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1589775 bytes 285441270 (272.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 901813 bytes 175290502 (167.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 560480 bytes 99686605 (95.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 560480 bytes 99686605 (95.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1589944 bytes 285478596 (272.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 901989 bytes 175366302 (167.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 560585 bytes 99705631 (95.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 560585 bytes 99705631 (95.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1590097 bytes 285508787 (272.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 902127 bytes 175434953 (167.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 560591 bytes 99705959 (95.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 560591 bytes 99705959 (95.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1590272 bytes 285544662 (272.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 902303 bytes 175511134 (167.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 560704 bytes 99725561 (95.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 560704 bytes 99725561 (95.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1590394 bytes 285570108 (272.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 902406 bytes 175574810 (167.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 560704 bytes 99725561 (95.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 560704 bytes 99725561 (95.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1590560 bytes 285605069 (272.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 902579 bytes 175650424 (167.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 560811 bytes 99744719 (95.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 560811 bytes 99744719 (95.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1590702 bytes 285635196 (272.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 902708 bytes 175719466 (167.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 560872 bytes 99755052 (95.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 560872 bytes 99755052 (95.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1590860 bytes 285666359 (272.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 902853 bytes 175789847 (167.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 560930 bytes 99764681 (95.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 560930 bytes 99764681 (95.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1591005 bytes 285695885 (272.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 902979 bytes 175857341 (167.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 560930 bytes 99764681 (95.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 560930 bytes 99764681 (95.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1591174 bytes 285731070 (272.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 903145 bytes 175932535 (167.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 561044 bytes 99784355 (95.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 561044 bytes 99784355 (95.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1591317 bytes 285760640 (272.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 903283 bytes 176002292 (167.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 561101 bytes 99793924 (95.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 561101 bytes 99793924 (95.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1591469 bytes 285789687 (272.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 903433 bytes 176122302 (167.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 561101 bytes 99793924 (95.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 561101 bytes 99793924 (95.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux b'Error on request' Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1591652 bytes 285826127 (272.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 903613 bytes 176197386 (168.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 561163 bytes 99804285 (95.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 561163 bytes 99804285 (95.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1591789 bytes 285852327 (272.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 903720 bytes 176261482 (168.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 561163 bytes 99804285 (95.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 561163 bytes 99804285 (95.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1591957 bytes 285887362 (272.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 903891 bytes 176336967 (168.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 561274 bytes 99823743 (95.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 561274 bytes 99823743 (95.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1592088 bytes 285913164 (272.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 903999 bytes 176401148 (168.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 561274 bytes 99823743 (95.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 561274 bytes 99823743 (95.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1592253 bytes 285948140 (272.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 904165 bytes 176476253 (168.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 561387 bytes 99843345 (95.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 561387 bytes 99843345 (95.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1592381 bytes 285973929 (272.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 904270 bytes 176540126 (168.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 561387 bytes 99843345 (95.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 561387 bytes 99843345 (95.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1592543 bytes 286008592 (272.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 904436 bytes 176615243 (168.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 561502 bytes 99863019 (95.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 561502 bytes 99863019 (95.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1592719 bytes 286044225 (272.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 904605 bytes 176690723 (168.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 561612 bytes 99882393 (95.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 561612 bytes 99882393 (95.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1592865 bytes 286073831 (272.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 904732 bytes 176758289 (168.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 561612 bytes 99882393 (95.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 561612 bytes 99882393 (95.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1592984 bytes 286098539 (272.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 904841 bytes 176822120 (168.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 561612 bytes 99882393 (95.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 561612 bytes 99882393 (95.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1593176 bytes 286138437 (272.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 905039 bytes 176901947 (168.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 561726 bytes 99901963 (95.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 561726 bytes 99901963 (95.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1593301 bytes 286163636 (272.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 905148 bytes 176966279 (168.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 561726 bytes 99901963 (95.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 561726 bytes 99901963 (95.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1593463 bytes 286198258 (272.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 905307 bytes 177040832 (168.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 561838 bytes 99921493 (95.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 561838 bytes 99921493 (95.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1593638 bytes 286236259 (272.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 905502 bytes 177167448 (168.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 561891 bytes 99931310 (95.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 561891 bytes 99931310 (95.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1593786 bytes 286266521 (273.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 905642 bytes 177237381 (169.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 561944 bytes 99940591 (95.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 561944 bytes 99940591 (95.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1593940 bytes 286297195 (273.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 905779 bytes 177306926 (169.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 562000 bytes 99950088 (95.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 562000 bytes 99950088 (95.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1594094 bytes 286328450 (273.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 905915 bytes 177376433 (169.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 562053 bytes 99959905 (95.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 562053 bytes 99959905 (95.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1594223 bytes 286354604 (273.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 906029 bytes 177441150 (169.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 562053 bytes 99959905 (95.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 562053 bytes 99959905 (95.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1594385 bytes 286388930 (273.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 906197 bytes 177516373 (169.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 562165 bytes 99979363 (95.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 562165 bytes 99979363 (95.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1594566 bytes 286424822 (273.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 906359 bytes 177591384 (169.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 562269 bytes 99998305 (95.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 562269 bytes 99998305 (95.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1594713 bytes 286452448 (273.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 906495 bytes 177659788 (169.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 562272 bytes 99998477 (95.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 562272 bytes 99998477 (95.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1594905 bytes 286492075 (273.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 906682 bytes 177738648 (169.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 562384 bytes 100017903 (95.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 562384 bytes 100017903 (95.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1595068 bytes 286526789 (273.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 906852 bytes 177814104 (169.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 562498 bytes 100037577 (95.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 562498 bytes 100037577 (95.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1595241 bytes 286562577 (273.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 907019 bytes 177889834 (169.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 562612 bytes 100057171 (95.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 562612 bytes 100057171 (95.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 146 bytes 28568 (27.8 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96 bytes 13072 (12.7 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 9 bytes 524 (524.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9 bytes 524 (524.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 300 bytes 56508 (55.1 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 236 bytes 79756 (77.8 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 9 bytes 524 (524.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9 bytes 524 (524.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 482 bytes 92795 (90.6 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 408 bytes 155631 (151.9 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 119 bytes 19910 (19.4 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 119 bytes 19910 (19.4 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 653 bytes 128283 (125.2 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 583 bytes 231564 (226.1 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 231 bytes 39440 (38.5 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 231 bytes 39440 (38.5 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 827 bytes 163967 (160.1 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 774 bytes 357988 (349.5 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 289 bytes 49081 (47.9 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 289 bytes 49081 (47.9 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 990 bytes 198849 (194.1 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 949 bytes 434023 (423.8 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 399 bytes 68467 (66.8 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 399 bytes 68467 (66.8 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1118 bytes 226716 (221.4 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1062 bytes 498506 (486.8 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 399 bytes 68467 (66.8 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 399 bytes 68467 (66.8 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1269 bytes 258479 (252.4 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1222 bytes 573359 (559.9 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 510 bytes 87925 (85.8 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 510 bytes 87925 (85.8 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1447 bytes 294148 (287.2 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1398 bytes 649460 (634.2 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 615 bytes 106951 (104.4 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 615 bytes 106951 (104.4 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1557 bytes 318498 (311.0 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1499 bytes 713121 (696.4 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 615 bytes 106951 (104.4 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 615 bytes 106951 (104.4 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1700 bytes 348351 (340.1 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1642 bytes 783368 (765.0 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 669 bytes 116304 (113.5 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 669 bytes 116304 (113.5 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 1898 bytes 390740 (381.5 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1834 bytes 861479 (841.2 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 736 bytes 126941 (123.9 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 736 bytes 126941 (123.9 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 2066 bytes 425775 (415.7 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2004 bytes 937046 (915.0 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 848 bytes 146471 (143.0 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 848 bytes 146471 (143.0 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 2207 bytes 457786 (447.0 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2160 bytes 1057493 (1.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 848 bytes 146471 (143.0 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 848 bytes 146471 (143.0 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 2405 bytes 498235 (486.5 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2386 bytes 1190084 (1.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 962 bytes 166145 (162.2 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 962 bytes 166145 (162.2 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 2527 bytes 525555 (513.2 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2494 bytes 1254246 (1.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 962 bytes 166145 (162.2 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 962 bytes 166145 (162.2 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 2702 bytes 561665 (548.5 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2673 bytes 1330500 (1.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 1076 bytes 185819 (181.4 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1076 bytes 185819 (181.4 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 2821 bytes 586670 (572.9 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2777 bytes 1394442 (1.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 1076 bytes 185819 (181.4 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1076 bytes 185819 (181.4 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 3016 bytes 626957 (612.2 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2995 bytes 1526285 (1.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 1190 bytes 205493 (200.6 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1190 bytes 205493 (200.6 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 3146 bytes 655001 (639.6 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3111 bytes 1591187 (1.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 1190 bytes 205493 (200.6 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1190 bytes 205493 (200.6 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 3314 bytes 689927 (673.7 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3272 bytes 1666087 (1.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 1298 bytes 224735 (219.4 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1298 bytes 224735 (219.4 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 3485 bytes 724469 (707.4 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3432 bytes 1738450 (1.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 1309 bytes 225339 (220.0 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1309 bytes 225339 (220.0 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 3661 bytes 759823 (742.0 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3602 bytes 1814112 (1.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 1424 bytes 245085 (239.3 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1424 bytes 245085 (239.3 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 3787 bytes 785478 (767.0 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3717 bytes 1878912 (1.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 1424 bytes 245085 (239.3 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1424 bytes 245085 (239.3 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 3960 bytes 820840 (801.6 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3883 bytes 1954259 (1.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 1531 bytes 264255 (258.0 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1531 bytes 264255 (258.0 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 4085 bytes 846219 (826.3 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3992 bytes 2018546 (1.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 1531 bytes 264255 (258.0 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1531 bytes 264255 (258.0 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 4228 bytes 875982 (855.4 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4130 bytes 2088321 (1.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 1585 bytes 273608 (267.1 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1585 bytes 273608 (267.1 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 4405 bytes 914039 (892.6 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4319 bytes 2214660 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 1639 bytes 283497 (276.8 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1639 bytes 283497 (276.8 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 4573 bytes 949147 (926.9 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4485 bytes 2289839 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 1750 bytes 302955 (295.8 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1750 bytes 302955 (295.8 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 4703 bytes 975073 (952.2 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4596 bytes 2354468 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 1750 bytes 302955 (295.8 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1750 bytes 302955 (295.8 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 4823 bytes 1000040 (976.6 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4703 bytes 2418549 (2.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 1750 bytes 302955 (295.8 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1750 bytes 302955 (295.8 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 5013 bytes 1039710 (1015.3 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4890 bytes 2497560 (2.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 1871 bytes 322969 (315.3 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1871 bytes 322969 (315.3 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 5158 bytes 1069496 (1.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5027 bytes 2567098 (2.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 1925 bytes 332254 (324.4 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1925 bytes 332254 (324.4 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 5323 bytes 1104239 (1.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5190 bytes 2641052 (2.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 1984 bytes 342503 (334.4 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1984 bytes 342503 (334.4 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 5462 bytes 1131503 (1.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5327 bytes 2710787 (2.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 2041 bytes 352072 (343.8 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2041 bytes 352072 (343.8 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 5610 bytes 1162159 (1.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5468 bytes 2781066 (2.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 2098 bytes 362177 (353.6 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2098 bytes 362177 (353.6 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 5734 bytes 1187622 (1.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5576 bytes 2845290 (2.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 2098 bytes 362177 (353.6 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2098 bytes 362177 (353.6 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 5901 bytes 1224976 (1.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5748 bytes 2921069 (2.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 2205 bytes 381347 (372.4 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2205 bytes 381347 (372.4 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 6064 bytes 1257468 (1.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5906 bytes 2995730 (2.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 2314 bytes 400661 (391.2 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2314 bytes 400661 (391.2 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 6193 bytes 1285419 (1.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6020 bytes 3060485 (2.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 2314 bytes 400661 (391.2 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2314 bytes 400661 (391.2 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 6354 bytes 1320303 (1.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6183 bytes 3135509 (2.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 2429 bytes 420407 (410.5 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2429 bytes 420407 (410.5 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 6481 bytes 1346167 (1.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6295 bytes 3200138 (3.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 2432 bytes 420579 (410.7 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2432 bytes 420579 (410.7 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 6657 bytes 1382154 (1.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6475 bytes 3278528 (3.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 2549 bytes 440409 (430.0 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2549 bytes 440409 (430.0 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 6792 bytes 1408537 (1.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6596 bytes 3343893 (3.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 2553 bytes 440649 (430.3 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2553 bytes 440649 (430.3 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 6926 bytes 1437608 (1.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6727 bytes 3413134 (3.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 2612 bytes 450326 (439.7 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2612 bytes 450326 (439.7 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 7079 bytes 1468580 (1.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6868 bytes 3483256 (3.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 2671 bytes 460575 (449.7 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2671 bytes 460575 (449.7 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 7261 bytes 1507563 (1.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7065 bytes 3562930 (3.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 2784 bytes 480177 (468.9 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2784 bytes 480177 (468.9 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 7387 bytes 1533190 (1.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7181 bytes 3627866 (3.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 2784 bytes 480177 (468.9 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2784 bytes 480177 (468.9 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 7484 bytes 1553237 (1.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7236 bytes 3635362 (3.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 2784 bytes 480177 (468.9 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2784 bytes 480177 (468.9 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 7641 bytes 1585189 (1.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7397 bytes 3710361 (3.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 2899 bytes 499923 (488.2 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2899 bytes 499923 (488.2 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 7772 bytes 1612203 (1.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7508 bytes 3728841 (3.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 3014 bytes 519669 (507.4 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3014 bytes 519669 (507.4 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 7905 bytes 1638649 (1.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7622 bytes 3793654 (3.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 3014 bytes 519669 (507.4 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3014 bytes 519669 (507.4 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 8052 bytes 1666779 (1.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7732 bytes 3810901 (3.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 3074 bytes 529886 (517.4 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3074 bytes 529886 (517.4 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 8165 bytes 1691237 (1.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7823 bytes 3824541 (3.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 3127 bytes 539167 (526.5 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3127 bytes 539167 (526.5 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 8308 bytes 1720793 (1.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7961 bytes 3894230 (3.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 3176 bytes 548160 (535.3 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3176 bytes 548160 (535.3 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 8452 bytes 1751056 (1.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8094 bytes 3963679 (3.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 3231 bytes 558121 (545.0 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3231 bytes 558121 (545.0 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 8613 bytes 1783451 (1.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8264 bytes 4039407 (3.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 3354 bytes 578371 (564.8 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3354 bytes 578371 (564.8 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 8717 bytes 1802042 (1.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8317 bytes 4047175 (3.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 3355 bytes 578431 (564.8 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3355 bytes 578431 (564.8 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 8876 bytes 1834011 (1.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8456 bytes 4069862 (3.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 3470 bytes 598177 (584.1 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3470 bytes 598177 (584.1 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 9008 bytes 1859954 (1.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8567 bytes 4134363 (3.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 3470 bytes 598177 (584.1 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3470 bytes 598177 (584.1 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 9119 bytes 1882374 (1.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8643 bytes 4146849 (3.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 3527 bytes 608282 (594.0 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3527 bytes 608282 (594.0 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 9239 bytes 1905532 (1.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8731 bytes 4160281 (3.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 3580 bytes 617563 (603.0 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3580 bytes 617563 (603.0 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 9398 bytes 1938902 (1.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8888 bytes 4233647 (4.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 3640 bytes 627244 (612.5 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3640 bytes 627244 (612.5 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 9531 bytes 1965341 (1.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8984 bytes 4247805 (4.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 3698 bytes 637421 (622.4 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3698 bytes 637421 (622.4 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 9687 bytes 1997988 (1.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9143 bytes 4322504 (4.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 3810 bytes 656951 (641.5 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3810 bytes 656951 (641.5 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 9791 bytes 2018598 (1.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9204 bytes 4330520 (4.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 3810 bytes 656951 (641.5 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3810 bytes 656951 (641.5 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 9968 bytes 2053993 (1.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9389 bytes 4456592 (4.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 3862 bytes 666160 (650.5 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3862 bytes 666160 (650.5 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 10089 bytes 2079478 (1.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9481 bytes 4470234 (4.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 3916 bytes 676049 (660.2 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3916 bytes 676049 (660.2 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 10212 bytes 2104649 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9585 bytes 4534115 (4.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 3922 bytes 676409 (660.5 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3922 bytes 676409 (660.5 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 10378 bytes 2139603 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9751 bytes 4609390 (4.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 4031 bytes 695711 (679.4 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4031 bytes 695711 (679.4 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 10517 bytes 2166433 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9880 bytes 4677373 (4.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 4031 bytes 695711 (679.4 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4031 bytes 695711 (679.4 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 10697 bytes 2202621 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10052 bytes 4753109 (4.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 4147 bytes 715529 (698.7 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4147 bytes 715529 (698.7 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 10857 bytes 2234385 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10193 bytes 4775921 (4.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 4263 bytes 735243 (718.0 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4263 bytes 735243 (718.0 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 10973 bytes 2259139 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10296 bytes 4839729 (4.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 4263 bytes 735243 (718.0 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4263 bytes 735243 (718.0 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 11105 bytes 2286227 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10413 bytes 4858606 (4.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 4370 bytes 754413 (736.7 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4370 bytes 754413 (736.7 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 11207 bytes 2304611 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10469 bytes 4866382 (4.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 4370 bytes 754413 (736.7 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4370 bytes 754413 (736.7 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 11345 bytes 2332399 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10583 bytes 4885057 (4.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 4483 bytes 774015 (755.8 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4483 bytes 774015 (755.8 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 11440 bytes 2349937 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10633 bytes 4892313 (4.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 4483 bytes 774015 (755.8 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4483 bytes 774015 (755.8 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 11574 bytes 2378068 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10756 bytes 4911773 (4.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 4594 bytes 793473 (774.8 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4594 bytes 793473 (774.8 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 11694 bytes 2400839 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10857 bytes 4975485 (4.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 4594 bytes 793473 (774.8 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4594 bytes 793473 (774.8 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 11802 bytes 2422647 (2.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10935 bytes 4988041 (4.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 4652 bytes 803042 (784.2 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4652 bytes 803042 (784.2 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 11938 bytes 2449493 (2.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11029 bytes 5001978 (4.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 4708 bytes 813063 (794.0 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4708 bytes 813063 (794.0 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 12119 bytes 2486173 (2.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11217 bytes 5081189 (4.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 4825 bytes 832909 (813.3 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4825 bytes 832909 (813.3 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 12229 bytes 2507728 (2.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11299 bytes 5092891 (4.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 4829 bytes 833117 (813.5 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4829 bytes 833117 (813.5 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 12338 bytes 2531714 (2.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11378 bytes 5105502 (4.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 4880 bytes 842254 (822.5 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4880 bytes 842254 (822.5 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 12486 bytes 2560097 (2.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11514 bytes 5175238 (4.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 4935 bytes 852215 (832.2 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4935 bytes 852215 (832.2 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux b'Error on request' Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 12615 bytes 2585103 (2.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11626 bytes 5193851 (4.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 5047 bytes 871745 (851.3 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5047 bytes 871745 (851.3 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 12711 bytes 2603000 (2.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11680 bytes 5201421 (4.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 5047 bytes 871745 (851.3 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5047 bytes 871745 (851.3 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 12802 bytes 2620835 (2.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11731 bytes 5208628 (4.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 5047 bytes 871745 (851.3 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5047 bytes 871745 (851.3 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 13018 bytes 2664908 (2.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11907 bytes 5284699 (5.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 5162 bytes 891491 (870.5 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5162 bytes 891491 (870.5 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 13136 bytes 2687509 (2.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12008 bytes 5348391 (5.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 5162 bytes 891491 (870.5 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5162 bytes 891491 (870.5 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 13351 bytes 2727318 (2.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12124 bytes 5367490 (5.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 5279 bytes 911381 (890.0 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5279 bytes 911381 (890.0 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 13450 bytes 2745655 (2.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12184 bytes 5375613 (5.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 5284 bytes 911681 (890.3 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5284 bytes 911681 (890.3 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 13560 bytes 2767442 (2.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12260 bytes 5386948 (5.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 5292 bytes 912129 (890.7 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5292 bytes 912129 (890.7 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 13714 bytes 2798867 (2.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12399 bytes 5409550 (5.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 5402 bytes 931515 (909.6 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5402 bytes 931515 (909.6 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 13837 bytes 2822304 (2.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12501 bytes 5473332 (5.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 5402 bytes 931515 (909.6 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5402 bytes 931515 (909.6 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 13970 bytes 2849412 (2.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12615 bytes 5492063 (5.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 5512 bytes 950901 (928.6 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5512 bytes 950901 (928.6 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 14065 bytes 2867422 (2.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12671 bytes 5499884 (5.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 5512 bytes 950901 (928.6 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5512 bytes 950901 (928.6 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 14153 bytes 2884789 (2.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12724 bytes 5507349 (5.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 5512 bytes 950901 (928.6 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5512 bytes 950901 (928.6 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 14291 bytes 2914377 (2.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12838 bytes 5526002 (5.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 5623 bytes 970359 (947.6 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5623 bytes 970359 (947.6 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 14420 bytes 2938293 (2.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12942 bytes 5590076 (5.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 5623 bytes 970359 (947.6 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5623 bytes 970359 (947.6 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 14522 bytes 2956871 (2.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12998 bytes 5597803 (5.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 5623 bytes 970359 (947.6 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5623 bytes 970359 (947.6 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 14663 bytes 2986393 (2.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13113 bytes 5616546 (5.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 5732 bytes 989673 (966.4 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5732 bytes 989673 (966.4 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 14802 bytes 3013588 (2.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13246 bytes 5684990 (5.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 5739 bytes 990053 (966.8 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5739 bytes 990053 (966.8 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 14889 bytes 3030813 (2.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13294 bytes 5692055 (5.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 5743 bytes 990293 (967.0 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5743 bytes 990293 (967.0 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 15030 bytes 3058475 (2.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13414 bytes 5711202 (5.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 5856 bytes 1009859 (986.1 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5856 bytes 1009859 (986.1 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 15119 bytes 3075796 (2.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13463 bytes 5718313 (5.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 5856 bytes 1009859 (986.1 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5856 bytes 1009859 (986.1 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 15283 bytes 3108818 (2.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13612 bytes 5741770 (5.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 5964 bytes 1029101 (1004.9 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5964 bytes 1029101 (1004.9 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux b'Error on request' Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 15394 bytes 3129038 (2.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13709 bytes 5805150 (5.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 5964 bytes 1029101 (1004.9 KiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5964 bytes 1029101 (1004.9 KiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 15534 bytes 3156392 (3.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13824 bytes 5823927 (5.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 6076 bytes 1048631 (1.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6076 bytes 1048631 (1.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 15669 bytes 3183771 (3.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13943 bytes 5843078 (5.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 6188 bytes 1068161 (1.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6188 bytes 1068161 (1.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 15806 bytes 3211648 (3.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14056 bytes 5861755 (5.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 6302 bytes 1087835 (1.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6302 bytes 1087835 (1.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 15912 bytes 3232990 (3.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14120 bytes 5869893 (5.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 6302 bytes 1087835 (1.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6302 bytes 1087835 (1.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 16095 bytes 3269850 (3.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14312 bytes 5949390 (5.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 6420 bytes 1107693 (1.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6420 bytes 1107693 (1.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 16211 bytes 3292679 (3.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14395 bytes 5962491 (5.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 6477 bytes 1117798 (1.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6477 bytes 1117798 (1.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 16327 bytes 3314974 (3.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14477 bytes 5975420 (5.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 6533 bytes 1127295 (1.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6533 bytes 1127295 (1.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 16459 bytes 3341942 (3.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14596 bytes 5994593 (5.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 6643 bytes 1146681 (1.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6643 bytes 1146681 (1.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 16587 bytes 3370678 (3.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14729 bytes 6064005 (5.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 6702 bytes 1156322 (1.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6702 bytes 1156322 (1.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 16704 bytes 3393591 (3.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14814 bytes 6077186 (5.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 6761 bytes 1166559 (1.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6761 bytes 1166559 (1.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 16865 bytes 3425515 (3.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14952 bytes 6099956 (5.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 6874 bytes 1186161 (1.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6874 bytes 1186161 (1.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 16958 bytes 3443176 (3.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15002 bytes 6107186 (5.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 6874 bytes 1186161 (1.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6874 bytes 1186161 (1.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 17094 bytes 3470964 (3.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15116 bytes 6125972 (5.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 6988 bytes 1205835 (1.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6988 bytes 1205835 (1.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 17191 bytes 3489701 (3.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15173 bytes 6133794 (5.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 6988 bytes 1205835 (1.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6988 bytes 1205835 (1.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 17345 bytes 3521446 (3.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15337 bytes 6209056 (5.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 7103 bytes 1225537 (1.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7103 bytes 1225537 (1.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 17510 bytes 3553885 (3.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15467 bytes 6231131 (5.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 7223 bytes 1245583 (1.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7223 bytes 1245583 (1.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 17617 bytes 3572637 (3.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15529 bytes 6239421 (5.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 7223 bytes 1245583 (1.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7223 bytes 1245583 (1.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 17742 bytes 3599149 (3.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15633 bytes 6257368 (5.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 7329 bytes 1264681 (1.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7329 bytes 1264681 (1.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 17842 bytes 3617453 (3.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15693 bytes 6265498 (5.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 7329 bytes 1264681 (1.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7329 bytes 1264681 (1.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 18004 bytes 3650445 (3.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15846 bytes 6339453 (6.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 7427 bytes 1282871 (1.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7427 bytes 1282871 (1.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 18109 bytes 3669113 (3.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15910 bytes 6348198 (6.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 7446 bytes 1284499 (1.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7446 bytes 1284499 (1.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 18197 bytes 3686315 (3.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15963 bytes 6355788 (6.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 7447 bytes 1284559 (1.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7447 bytes 1284559 (1.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 18361 bytes 3718768 (3.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16101 bytes 6378400 (6.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 7558 bytes 1304017 (1.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7558 bytes 1304017 (1.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 18461 bytes 3737038 (3.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16161 bytes 6386531 (6.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 7558 bytes 1304017 (1.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7558 bytes 1304017 (1.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 18622 bytes 3771568 (3.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16321 bytes 6461329 (6.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 7667 bytes 1323331 (1.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7667 bytes 1323331 (1.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 18782 bytes 3803349 (3.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16463 bytes 6484303 (6.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 7785 bytes 1343189 (1.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7785 bytes 1343189 (1.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 18884 bytes 3821735 (3.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16517 bytes 6492004 (6.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 7785 bytes 1343189 (1.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7785 bytes 1343189 (1.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 19030 bytes 3851858 (3.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16658 bytes 6562002 (6.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 7843 bytes 1352830 (1.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7843 bytes 1352830 (1.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 19146 bytes 3874674 (3.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16737 bytes 6574821 (6.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 7902 bytes 1363079 (1.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7902 bytes 1363079 (1.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 19279 bytes 3901817 (3.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16853 bytes 6593591 (6.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 8013 bytes 1382537 (1.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8013 bytes 1382537 (1.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 19374 bytes 3919748 (3.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16906 bytes 6601194 (6.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 8013 bytes 1382537 (1.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8013 bytes 1382537 (1.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 19479 bytes 3941381 (3.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16983 bytes 6613767 (6.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 8068 bytes 1391962 (1.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8068 bytes 1391962 (1.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 19653 bytes 3974246 (3.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17161 bytes 6737509 (6.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 8129 bytes 1402283 (1.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8129 bytes 1402283 (1.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 19786 bytes 4001342 (3.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17268 bytes 6755660 (6.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 8245 bytes 1422089 (1.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8245 bytes 1422089 (1.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 19898 bytes 4023098 (3.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17350 bytes 6767375 (6.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 8245 bytes 1422089 (1.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8245 bytes 1422089 (1.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 20051 bytes 4054432 (3.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17485 bytes 6789789 (6.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 8361 bytes 1441783 (1.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8361 bytes 1441783 (1.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 20148 bytes 4072395 (3.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17543 bytes 6797608 (6.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 8361 bytes 1441783 (1.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8361 bytes 1441783 (1.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 20273 bytes 4099758 (3.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17657 bytes 6816237 (6.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 8475 bytes 1461457 (1.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8475 bytes 1461457 (1.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 20415 bytes 4124207 (3.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17802 bytes 6934120 (6.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 8475 bytes 1461457 (1.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8475 bytes 1461457 (1.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 20543 bytes 4151255 (3.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17910 bytes 6952285 (6.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 8581 bytes 1480555 (1.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8581 bytes 1480555 (1.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 20678 bytes 4175104 (3.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18049 bytes 7069617 (6.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 8581 bytes 1480555 (1.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8581 bytes 1480555 (1.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 20760 bytes 4191732 (3.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18098 bytes 7076732 (6.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 8581 bytes 1480555 (1.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8581 bytes 1480555 (1.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 20912 bytes 4220527 (4.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18213 bytes 7095589 (6.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 8689 bytes 1499797 (1.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8689 bytes 1499797 (1.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 21056 bytes 4247281 (4.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18361 bytes 7213678 (6.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 8689 bytes 1499797 (1.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8689 bytes 1499797 (1.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 21191 bytes 4274748 (4.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18475 bytes 7232471 (6.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 8803 bytes 1519411 (1.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8803 bytes 1519411 (1.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 21320 bytes 4300869 (4.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18585 bytes 7249673 (6.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 8865 bytes 1529212 (1.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8865 bytes 1529212 (1.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 21423 bytes 4322076 (4.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18661 bytes 7260867 (6.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 8865 bytes 1529212 (1.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8865 bytes 1529212 (1.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 21537 bytes 4344432 (4.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18750 bytes 7274416 (6.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 8920 bytes 1538637 (1.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8920 bytes 1538637 (1.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 21657 bytes 4368007 (4.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18834 bytes 7287436 (6.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 8975 bytes 1548554 (1.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8975 bytes 1548554 (1.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 21828 bytes 4401013 (4.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19030 bytes 7415698 (7.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 9084 bytes 1567868 (1.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9084 bytes 1567868 (1.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 21932 bytes 4419461 (4.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19084 bytes 7423259 (7.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 9084 bytes 1567868 (1.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9084 bytes 1567868 (1.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 22055 bytes 4442597 (4.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19167 bytes 7436352 (7.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 9138 bytes 1577221 (1.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9138 bytes 1577221 (1.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 22187 bytes 4467094 (4.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19262 bytes 7450404 (7.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 9192 bytes 1587110 (1.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9192 bytes 1587110 (1.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 22313 bytes 4494039 (4.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19373 bytes 7468879 (7.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 9307 bytes 1606856 (1.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9307 bytes 1606856 (1.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 22460 bytes 4519332 (4.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19517 bytes 7586513 (7.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 9307 bytes 1606856 (1.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9307 bytes 1606856 (1.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 22595 bytes 4546557 (4.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19636 bytes 7605752 (7.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 9424 bytes 1626702 (1.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9424 bytes 1626702 (1.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 22713 bytes 4570994 (4.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19720 bytes 7617593 (7.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 9431 bytes 1627098 (1.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9431 bytes 1627098 (1.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 22844 bytes 4594475 (4.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19851 bytes 7734279 (7.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 9434 bytes 1627278 (1.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9434 bytes 1627278 (1.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 23001 bytes 4623383 (4.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19971 bytes 7753742 (7.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 9544 bytes 1646664 (1.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9544 bytes 1646664 (1.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 23154 bytes 4654631 (4.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20108 bytes 7776198 (7.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 9656 bytes 1666194 (1.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9656 bytes 1666194 (1.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 23251 bytes 4672596 (4.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20163 bytes 7783810 (7.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 9656 bytes 1666194 (1.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9656 bytes 1666194 (1.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 23347 bytes 4690380 (4.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20216 bytes 7791353 (7.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 9656 bytes 1666194 (1.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9656 bytes 1666194 (1.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux b'Error on request' Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 23534 bytes 4723926 (4.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20419 bytes 7920223 (7.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 9767 bytes 1685652 (1.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9767 bytes 1685652 (1.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 23668 bytes 4751408 (4.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20531 bytes 7938776 (7.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 9873 bytes 1704750 (1.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9873 bytes 1704750 (1.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 23766 bytes 4769309 (4.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20579 bytes 7945872 (7.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 9873 bytes 1704750 (1.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9873 bytes 1704750 (1.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 23877 bytes 4791337 (4.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20662 bytes 7958884 (7.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 9928 bytes 1714175 (1.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9928 bytes 1714175 (1.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 24022 bytes 4819020 (4.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20766 bytes 7975711 (7.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 9988 bytes 1724392 (1.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9988 bytes 1724392 (1.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 24135 bytes 4841791 (4.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20854 bytes 7989058 (7.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 10042 bytes 1733797 (1.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10042 bytes 1733797 (1.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 24300 bytes 4871447 (4.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21025 bytes 8112304 (7.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 10098 bytes 1743830 (1.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10098 bytes 1743830 (1.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 24431 bytes 4898185 (4.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21137 bytes 8130878 (7.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 10216 bytes 1763720 (1.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10216 bytes 1763720 (1.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 24541 bytes 4916998 (4.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21194 bytes 8138701 (7.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 10217 bytes 1763780 (1.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10217 bytes 1763780 (1.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 24647 bytes 4938464 (4.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21273 bytes 8150147 (7.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 10217 bytes 1763780 (1.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10217 bytes 1763780 (1.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 24787 bytes 4966422 (4.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21387 bytes 8168997 (7.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 10324 bytes 1782950 (1.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10324 bytes 1782950 (1.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 24926 bytes 4991284 (4.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21526 bytes 8286226 (7.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 10324 bytes 1782950 (1.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10324 bytes 1782950 (1.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 25111 bytes 5027520 (4.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21731 bytes 8415164 (8.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 10436 bytes 1802480 (1.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10436 bytes 1802480 (1.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 25208 bytes 5045914 (4.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21784 bytes 8422746 (8.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 10436 bytes 1802480 (1.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10436 bytes 1802480 (1.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 25367 bytes 5077551 (4.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21924 bytes 8445659 (8.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 10558 bytes 1822626 (1.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10558 bytes 1822626 (1.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 25461 bytes 5095371 (4.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21974 bytes 8453023 (8.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 10558 bytes 1822626 (1.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10558 bytes 1822626 (1.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 25604 bytes 5123125 (4.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22088 bytes 8471707 (8.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 10669 bytes 1842084 (1.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10669 bytes 1842084 (1.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 25700 bytes 5141631 (4.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22142 bytes 8479131 (8.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 10669 bytes 1842084 (1.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10669 bytes 1842084 (1.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 25876 bytes 5175208 (4.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22344 bytes 8608040 (8.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 10782 bytes 1861686 (1.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10782 bytes 1861686 (1.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 25999 bytes 5198484 (4.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22423 bytes 8620838 (8.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 10848 bytes 1872367 (1.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10848 bytes 1872367 (1.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 26118 bytes 5221357 (4.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22511 bytes 8634338 (8.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 10904 bytes 1881852 (1.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10904 bytes 1881852 (1.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 26257 bytes 5248069 (5.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22619 bytes 8651311 (8.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 10960 bytes 1891349 (1.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10960 bytes 1891349 (1.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 26376 bytes 5271079 (5.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22700 bytes 8664287 (8.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 11019 bytes 1901598 (1.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11019 bytes 1901598 (1.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 26558 bytes 5305615 (5.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22910 bytes 8793614 (8.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 11128 bytes 1920912 (1.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11128 bytes 1920912 (1.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 26669 bytes 5327414 (5.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22985 bytes 8804921 (8.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 11134 bytes 1921240 (1.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11134 bytes 1921240 (1.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 26783 bytes 5349551 (5.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23070 bytes 8818027 (8.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 11187 bytes 1930521 (1.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11187 bytes 1930521 (1.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 26941 bytes 5381067 (5.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23238 bytes 8940840 (8.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 11241 bytes 1940410 (1.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11241 bytes 1940410 (1.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 27084 bytes 5408890 (5.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23361 bytes 8960294 (8.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 11347 bytes 1959508 (1.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11347 bytes 1959508 (1.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 27175 bytes 5426247 (5.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23410 bytes 8967422 (8.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 11347 bytes 1959508 (1.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11347 bytes 1959508 (1.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 27273 bytes 5444218 (5.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23462 bytes 8974798 (8.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 11347 bytes 1959508 (1.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11347 bytes 1959508 (1.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 27419 bytes 5472600 (5.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23577 bytes 8993706 (8.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 11457 bytes 1978894 (1.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11457 bytes 1978894 (1.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 27561 bytes 5501145 (5.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23694 bytes 9012568 (8.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 11581 bytes 1999228 (1.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11581 bytes 1999228 (1.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 27695 bytes 5524963 (5.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23835 bytes 9130048 (8.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 11583 bytes 1999348 (1.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11583 bytes 1999348 (1.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 27854 bytes 5556841 (5.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23975 bytes 9152895 (8.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 11693 bytes 2018734 (1.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11693 bytes 2018734 (1.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 27957 bytes 5575286 (5.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24035 bytes 9161003 (8.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 11696 bytes 2018906 (1.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11696 bytes 2018906 (1.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 28075 bytes 5597253 (5.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24108 bytes 9172078 (8.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 11699 bytes 2019062 (1.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11699 bytes 2019062 (1.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 28220 bytes 5625268 (5.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24226 bytes 9191162 (8.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 11811 bytes 2038592 (1.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11811 bytes 2038592 (1.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 28420 bytes 5660668 (5.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24423 bytes 9319421 (8.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 11922 bytes 2058050 (1.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11922 bytes 2058050 (1.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 28561 bytes 5685769 (5.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24567 bytes 9437328 (9.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 11922 bytes 2058050 (1.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11922 bytes 2058050 (1.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 28661 bytes 5703774 (5.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24616 bytes 9444468 (9.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 11922 bytes 2058050 (1.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11922 bytes 2058050 (1.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 28804 bytes 5731930 (5.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24730 bytes 9463167 (9.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12032 bytes 2077436 (1.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12032 bytes 2077436 (1.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 28907 bytes 5750116 (5.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24785 bytes 9470737 (9.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12032 bytes 2077436 (1.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12032 bytes 2077436 (1.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 29041 bytes 5777399 (5.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24897 bytes 9489447 (9.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12140 bytes 2096678 (1.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12140 bytes 2096678 (1.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 29143 bytes 5796265 (5.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24954 bytes 9497129 (9.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12145 bytes 2096978 (1.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12145 bytes 2096978 (1.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 29316 bytes 5829600 (5.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25153 bytes 9625776 (9.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12259 bytes 2116628 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12259 bytes 2116628 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 29455 bytes 5856110 (5.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25258 bytes 9641365 (9.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12265 bytes 2116956 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12265 bytes 2116956 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 29540 bytes 5873228 (5.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25306 bytes 9648462 (9.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12265 bytes 2116956 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12265 bytes 2116956 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 29644 bytes 5891552 (5.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25359 bytes 9655948 (9.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12265 bytes 2116956 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12265 bytes 2116956 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 29733 bytes 5906799 (5.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25410 bytes 9663448 (9.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12265 bytes 2116956 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12265 bytes 2116956 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 29870 bytes 5929155 (5.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25546 bytes 9780503 (9.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12265 bytes 2116956 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12265 bytes 2116956 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 29973 bytes 5946097 (5.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25598 bytes 9788077 (9.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12265 bytes 2116956 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12265 bytes 2116956 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 30084 bytes 5965159 (5.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25656 bytes 9796017 (9.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12265 bytes 2116956 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12265 bytes 2116956 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 30178 bytes 5982912 (5.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25712 bytes 9803705 (9.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12265 bytes 2116956 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12265 bytes 2116956 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument /home/pi --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 30279 bytes 6001919 (5.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25769 bytes 9811529 (9.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12265 bytes 2116956 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12265 bytes 2116956 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 30377 bytes 6021443 (5.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25837 bytes 9820043 (9.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12265 bytes 2116956 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12265 bytes 2116956 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 30612 bytes 6057047 (5.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26015 bytes 9943125 (9.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12275 bytes 2117524 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12275 bytes 2117524 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 30803 bytes 6082227 (5.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26077 bytes 9951615 (9.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12278 bytes 2117704 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12278 bytes 2117704 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 30939 bytes 6103685 (5.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26126 bytes 9958723 (9.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12278 bytes 2117704 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12278 bytes 2117704 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 31077 bytes 6130800 (5.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26240 bytes 9976296 (9.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12336 bytes 2127345 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12336 bytes 2127345 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 31168 bytes 6146758 (5.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26290 bytes 9983446 (9.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12336 bytes 2127345 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12336 bytes 2127345 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 31375 bytes 6178202 (5.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26432 bytes 10101145 (9.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12336 bytes 2127345 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12336 bytes 2127345 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 31560 bytes 6205617 (5.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26517 bytes 10114283 (9.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12388 bytes 2136554 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12388 bytes 2136554 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 31671 bytes 6224982 (5.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26564 bytes 10121307 (9.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12388 bytes 2136554 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12388 bytes 2136554 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 31768 bytes 6243140 (5.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26624 bytes 10129399 (9.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12388 bytes 2136554 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12388 bytes 2136554 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 31891 bytes 6267391 (5.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26708 bytes 10142512 (9.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12445 bytes 2146659 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12445 bytes 2146659 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 32016 bytes 6291780 (6.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26796 bytes 10154627 (9.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12451 bytes 2146987 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12451 bytes 2146987 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 32182 bytes 6320370 (6.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27017 bytes 10381645 (9.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12451 bytes 2146987 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12451 bytes 2146987 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 32325 bytes 6348254 (6.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27066 bytes 10388823 (9.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12451 bytes 2146987 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12451 bytes 2146987 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 32548 bytes 6393515 (6.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27231 bytes 10511533 (10.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12514 bytes 2157452 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12514 bytes 2157452 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 32712 bytes 6427877 (6.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27290 bytes 10519563 (10.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12515 bytes 2157512 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12515 bytes 2157512 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 32930 bytes 6474764 (6.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27411 bytes 10537235 (10.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12569 bytes 2166865 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12569 bytes 2166865 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 33168 bytes 6516665 (6.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27651 bytes 10786371 (10.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12569 bytes 2166865 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12569 bytes 2166865 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 33321 bytes 6548789 (6.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27713 bytes 10794508 (10.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12569 bytes 2166865 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12569 bytes 2166865 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 33561 bytes 6590570 (6.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27937 bytes 11019744 (10.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12569 bytes 2166865 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12569 bytes 2166865 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 33756 bytes 6626862 (6.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28005 bytes 11028491 (10.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12569 bytes 2166865 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12569 bytes 2166865 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 33929 bytes 6661059 (6.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28063 bytes 11036388 (10.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12572 bytes 2167037 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12572 bytes 2167037 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 34206 bytes 6708532 (6.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28337 bytes 11289997 (10.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12575 bytes 2167193 (2.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12575 bytes 2167193 (2.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 34500 bytes 6765375 (6.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28493 bytes 11318866 (10.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12783 bytes 2205161 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12783 bytes 2205161 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 34752 bytes 6808269 (6.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28731 bytes 11553249 (11.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12783 bytes 2205161 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12783 bytes 2205161 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 34922 bytes 6842194 (6.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28793 bytes 11561509 (11.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12783 bytes 2205161 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12783 bytes 2205161 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 35085 bytes 6875336 (6.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28857 bytes 11569801 (11.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12789 bytes 2205521 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12789 bytes 2205521 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 35332 bytes 6917744 (6.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29091 bytes 11797654 (11.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12790 bytes 2205581 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12790 bytes 2205581 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 35514 bytes 6954490 (6.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29172 bytes 11809342 (11.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12790 bytes 2205581 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12790 bytes 2205581 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 35793 bytes 7003673 (6.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29454 bytes 12059665 (11.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12846 bytes 2215614 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12846 bytes 2215614 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 35954 bytes 7036154 (6.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29512 bytes 12067519 (11.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12846 bytes 2215614 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12846 bytes 2215614 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 36122 bytes 7069910 (6.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29574 bytes 12075611 (11.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12846 bytes 2215614 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12846 bytes 2215614 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 36404 bytes 7118228 (6.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29845 bytes 12323367 (11.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12852 bytes 2215942 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12852 bytes 2215942 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 36574 bytes 7151529 (6.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29908 bytes 12331588 (11.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12852 bytes 2215942 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12852 bytes 2215942 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 36825 bytes 7194295 (6.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30138 bytes 12564469 (11.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12852 bytes 2215942 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12852 bytes 2215942 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 36987 bytes 7227048 (6.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30203 bytes 12572806 (11.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12852 bytes 2215942 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12852 bytes 2215942 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 37156 bytes 7260389 (6.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30261 bytes 12580631 (11.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12852 bytes 2215942 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12852 bytes 2215942 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 37408 bytes 7303219 (6.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30512 bytes 12822356 (12.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 12852 bytes 2215942 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12852 bytes 2215942 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 37628 bytes 7349625 (7.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30658 bytes 12846950 (12.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13028 bytes 2245537 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13028 bytes 2245537 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 37881 bytes 7392891 (7.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30875 bytes 13063037 (12.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13030 bytes 2245657 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13030 bytes 2245657 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 38063 bytes 7430268 (7.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30968 bytes 13075703 (12.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13030 bytes 2245657 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13030 bytes 2245657 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 38230 bytes 7463429 (7.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31025 bytes 13083463 (12.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13030 bytes 2245657 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13030 bytes 2245657 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 38496 bytes 7507536 (7.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31300 bytes 13329601 (12.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13036 bytes 2245985 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13036 bytes 2245985 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 38684 bytes 7545341 (7.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31384 bytes 13342746 (12.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13090 bytes 2255874 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13090 bytes 2255874 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 38938 bytes 7588782 (7.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31625 bytes 13591963 (12.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13090 bytes 2255874 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13090 bytes 2255874 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 39105 bytes 7621993 (7.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31690 bytes 13600403 (12.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13090 bytes 2255874 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13090 bytes 2255874 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 39353 bytes 7664654 (7.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31926 bytes 13833774 (13.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13090 bytes 2255874 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13090 bytes 2255874 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 39531 bytes 7699130 (7.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31992 bytes 13842358 (13.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13090 bytes 2255874 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13090 bytes 2255874 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 39701 bytes 7732523 (7.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32048 bytes 13850120 (13.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13090 bytes 2255874 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13090 bytes 2255874 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 39962 bytes 7776511 (7.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32281 bytes 14068937 (13.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13090 bytes 2255874 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13090 bytes 2255874 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 40132 bytes 7809930 (7.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32338 bytes 14076697 (13.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13095 bytes 2256174 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13095 bytes 2256174 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 40408 bytes 7861442 (7.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32629 bytes 14315513 (13.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13211 bytes 2275968 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13211 bytes 2275968 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 40681 bytes 7909324 (7.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32748 bytes 14332441 (13.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13217 bytes 2276296 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13217 bytes 2276296 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 40925 bytes 7949683 (7.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32820 bytes 14341625 (13.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13217 bytes 2276296 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13217 bytes 2276296 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 41200 bytes 7994407 (7.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33044 bytes 14559614 (13.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13217 bytes 2276296 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13217 bytes 2276296 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 41420 bytes 8032587 (7.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33113 bytes 14568400 (13.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13217 bytes 2276296 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13217 bytes 2276296 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 41716 bytes 8082537 (7.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33378 bytes 14807303 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13270 bytes 2285577 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13270 bytes 2285577 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 41910 bytes 8118561 (7.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33442 bytes 14815620 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13270 bytes 2285577 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13270 bytes 2285577 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 42105 bytes 8153951 (7.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33504 bytes 14823914 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13270 bytes 2285577 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13270 bytes 2285577 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 42369 bytes 8198260 (7.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33738 bytes 15059931 (14.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13270 bytes 2285577 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13270 bytes 2285577 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 42550 bytes 8232945 (7.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33809 bytes 15068881 (14.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13270 bytes 2285577 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13270 bytes 2285577 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 42806 bytes 8275654 (7.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34035 bytes 15298575 (14.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13270 bytes 2285577 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13270 bytes 2285577 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 42993 bytes 8310658 (7.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34105 bytes 15307508 (14.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13276 bytes 2285929 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13276 bytes 2285929 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 43186 bytes 8348179 (7.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34184 bytes 15319104 (14.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13283 bytes 2286325 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13283 bytes 2286325 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 43464 bytes 8393221 (8.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34423 bytes 15555530 (14.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13283 bytes 2286325 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13283 bytes 2286325 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 43655 bytes 8430928 (8.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34507 bytes 15567334 (14.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13283 bytes 2286325 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13283 bytes 2286325 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 43928 bytes 8476141 (8.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34754 bytes 15807344 (15.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13283 bytes 2286325 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13283 bytes 2286325 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 44117 bytes 8511304 (8.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34818 bytes 15815625 (15.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13283 bytes 2286325 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13283 bytes 2286325 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 44304 bytes 8546628 (8.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34874 bytes 15823303 (15.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13283 bytes 2286325 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13283 bytes 2286325 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 44586 bytes 8592572 (8.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35115 bytes 16061329 (15.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13283 bytes 2286325 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13283 bytes 2286325 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 44776 bytes 8627560 (8.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35179 bytes 16069763 (15.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13283 bytes 2286325 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13283 bytes 2286325 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 45066 bytes 8674046 (8.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35426 bytes 16319297 (15.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13283 bytes 2286325 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13283 bytes 2286325 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 45227 bytes 8706867 (8.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35488 bytes 16327608 (15.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13283 bytes 2286325 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13283 bytes 2286325 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 45458 bytes 8749216 (8.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35580 bytes 16340332 (15.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13289 bytes 2286653 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13289 bytes 2286653 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 45724 bytes 8793131 (8.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35815 bytes 16573752 (15.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13289 bytes 2286653 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13289 bytes 2286653 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 45908 bytes 8825549 (8.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35883 bytes 16582453 (15.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13295 bytes 2287013 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13295 bytes 2287013 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 46174 bytes 8872624 (8.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36104 bytes 16797382 (16.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13296 bytes 2287073 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13296 bytes 2287073 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 46372 bytes 8907925 (8.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36194 bytes 16809736 (16.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13296 bytes 2287073 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13296 bytes 2287073 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 46543 bytes 8941462 (8.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36253 bytes 16817708 (16.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13296 bytes 2287073 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13296 bytes 2287073 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 46788 bytes 8983806 (8.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36480 bytes 17046027 (16.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13296 bytes 2287073 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13296 bytes 2287073 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 46958 bytes 9017683 (8.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36551 bytes 17055001 (16.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13296 bytes 2287073 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13296 bytes 2287073 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 47217 bytes 9061003 (8.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36771 bytes 17272722 (16.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13296 bytes 2287073 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13296 bytes 2287073 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 47425 bytes 9097143 (8.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36839 bytes 17281334 (16.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13296 bytes 2287073 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13296 bytes 2287073 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 47640 bytes 9136119 (8.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36923 bytes 17293435 (16.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13302 bytes 2287401 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13302 bytes 2287401 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 47907 bytes 9180085 (8.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37164 bytes 17528572 (16.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13302 bytes 2287401 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13302 bytes 2287401 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 48114 bytes 9215547 (8.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37223 bytes 17536435 (16.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13302 bytes 2287401 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13302 bytes 2287401 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 48392 bytes 9261014 (8.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37465 bytes 17785667 (16.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13302 bytes 2287401 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13302 bytes 2287401 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 48586 bytes 9296397 (8.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37536 bytes 17794594 (16.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13308 bytes 2287761 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13308 bytes 2287761 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 48754 bytes 9329353 (8.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37596 bytes 17802599 (16.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13309 bytes 2287821 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13309 bytes 2287821 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 49057 bytes 9378643 (8.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37859 bytes 18044236 (17.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13309 bytes 2287821 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13309 bytes 2287821 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 49259 bytes 9414834 (8.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37921 bytes 18052491 (17.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13309 bytes 2287821 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13309 bytes 2287821 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 49507 bytes 9457325 (9.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38163 bytes 18301762 (17.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13309 bytes 2287821 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13309 bytes 2287821 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 49696 bytes 9492549 (9.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38226 bytes 18310134 (17.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13309 bytes 2287821 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13309 bytes 2287821 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 49923 bytes 9534659 (9.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38311 bytes 18322176 (17.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13315 bytes 2288149 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13315 bytes 2288149 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 50188 bytes 9579755 (9.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38537 bytes 18546102 (17.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13315 bytes 2288149 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13315 bytes 2288149 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 50368 bytes 9614567 (9.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38606 bytes 18554885 (17.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13315 bytes 2288149 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13315 bytes 2288149 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 50639 bytes 9659158 (9.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38847 bytes 18798625 (17.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13315 bytes 2288149 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13315 bytes 2288149 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 50824 bytes 9693640 (9.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38912 bytes 18807018 (17.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13315 bytes 2288149 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13315 bytes 2288149 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 51023 bytes 9729443 (9.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38974 bytes 18815285 (17.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13315 bytes 2288149 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13315 bytes 2288149 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 51317 bytes 9776449 (9.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39204 bytes 19046675 (18.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13320 bytes 2288449 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13320 bytes 2288449 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 51499 bytes 9811580 (9.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39267 bytes 19054942 (18.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13322 bytes 2288569 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13322 bytes 2288569 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 51765 bytes 9858800 (9.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39518 bytes 19278603 (18.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13322 bytes 2288569 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13322 bytes 2288569 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 52025 bytes 9902931 (9.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39581 bytes 19286854 (18.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13322 bytes 2288569 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13322 bytes 2288569 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 52233 bytes 9939754 (9.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39642 bytes 19295163 (18.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13325 bytes 2288741 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13325 bytes 2288741 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 52560 bytes 9991646 (9.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39914 bytes 19548710 (18.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13328 bytes 2288897 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13328 bytes 2288897 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 52732 bytes 10024950 (9.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39972 bytes 19556545 (18.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13328 bytes 2288897 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13328 bytes 2288897 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 53001 bytes 10069906 (9.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40213 bytes 19805807 (18.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13328 bytes 2288897 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13328 bytes 2288897 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 53186 bytes 10104366 (9.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40275 bytes 19813948 (18.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13328 bytes 2288897 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13328 bytes 2288897 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 53391 bytes 10140893 (9.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40340 bytes 19822511 (18.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13328 bytes 2288897 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13328 bytes 2288897 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 53701 bytes 10189717 (9.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40583 bytes 20056587 (19.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13328 bytes 2288897 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13328 bytes 2288897 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 53891 bytes 10224967 (9.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40641 bytes 20064465 (19.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13328 bytes 2288897 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13328 bytes 2288897 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 54165 bytes 10269366 (9.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40872 bytes 20287319 (19.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13333 bytes 2289197 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13333 bytes 2289197 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 54335 bytes 10300270 (9.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40933 bytes 20295584 (19.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13335 bytes 2289317 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13335 bytes 2289317 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 54549 bytes 10340167 (9.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41021 bytes 20307706 (19.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13335 bytes 2289317 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13335 bytes 2289317 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 54857 bytes 10392703 (9.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41274 bytes 20530191 (19.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13341 bytes 2289645 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13341 bytes 2289645 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 55040 bytes 10425002 (9.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41335 bytes 20538262 (19.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13341 bytes 2289645 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13341 bytes 2289645 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 55401 bytes 10476223 (9.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41720 bytes 20995698 (20.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13341 bytes 2289645 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13341 bytes 2289645 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 55590 bytes 10511128 (10.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41793 bytes 21004811 (20.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13341 bytes 2289645 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13341 bytes 2289645 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 55763 bytes 10544803 (10.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41852 bytes 21012752 (20.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13341 bytes 2289645 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13341 bytes 2289645 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 56114 bytes 10594517 (10.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42254 bytes 21502247 (20.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13341 bytes 2289645 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13341 bytes 2289645 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 56294 bytes 10628702 (10.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42320 bytes 21510717 (20.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13341 bytes 2289645 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13341 bytes 2289645 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 56618 bytes 10676098 (10.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42700 bytes 21963379 (20.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13341 bytes 2289645 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13341 bytes 2289645 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 56805 bytes 10710845 (10.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42770 bytes 21972261 (20.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13341 bytes 2289645 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13341 bytes 2289645 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 56982 bytes 10745009 (10.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42828 bytes 21980108 (20.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13344 bytes 2289825 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13344 bytes 2289825 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 57353 bytes 10798855 (10.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43251 bytes 22446750 (21.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13354 bytes 2290393 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13354 bytes 2290393 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 57547 bytes 10834334 (10.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43309 bytes 22454574 (21.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13354 bytes 2290393 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13354 bytes 2290393 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 57922 bytes 10888797 (10.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43744 bytes 22938049 (21.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13354 bytes 2290393 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13354 bytes 2290393 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 58113 bytes 10923790 (10.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43806 bytes 22946203 (21.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13354 bytes 2290393 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13354 bytes 2290393 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 58307 bytes 10960135 (10.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43870 bytes 22954688 (21.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13354 bytes 2290393 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13354 bytes 2290393 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 58634 bytes 11008352 (10.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44253 bytes 23404641 (22.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13354 bytes 2290393 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13354 bytes 2290393 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 58827 bytes 11044269 (10.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44308 bytes 23412306 (22.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13354 bytes 2290393 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13354 bytes 2290393 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 59171 bytes 11093817 (10.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44715 bytes 23890165 (22.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13354 bytes 2290393 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13354 bytes 2290393 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 59341 bytes 11127597 (10.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44773 bytes 23898065 (22.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13354 bytes 2290393 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13354 bytes 2290393 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 59527 bytes 11162707 (10.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44837 bytes 23906334 (22.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13354 bytes 2290393 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13354 bytes 2290393 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 59878 bytes 11215255 (10.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45250 bytes 24372294 (23.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13360 bytes 2290721 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13360 bytes 2290721 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 60060 bytes 11250011 (10.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45318 bytes 24380992 (23.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13360 bytes 2290721 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13360 bytes 2290721 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 60364 bytes 11296625 (10.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45692 bytes 24823174 (23.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13366 bytes 2291081 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13366 bytes 2291081 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 60559 bytes 11333257 (10.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45764 bytes 24832197 (23.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13367 bytes 2291141 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13367 bytes 2291141 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 60758 bytes 11372281 (10.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45849 bytes 24844131 (23.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13367 bytes 2291141 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13367 bytes 2291141 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 61069 bytes 11418792 (10.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46224 bytes 25289203 (24.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13367 bytes 2291141 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13367 bytes 2291141 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 61235 bytes 11452361 (10.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46295 bytes 25298181 (24.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13367 bytes 2291141 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13367 bytes 2291141 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 61571 bytes 11501430 (10.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46678 bytes 25751213 (24.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13367 bytes 2291141 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13367 bytes 2291141 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 61739 bytes 11534500 (11.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46744 bytes 25759670 (24.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13367 bytes 2291141 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13367 bytes 2291141 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 61933 bytes 11570370 (11.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46800 bytes 25767557 (24.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13367 bytes 2291141 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13367 bytes 2291141 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 62275 bytes 11619986 (11.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47196 bytes 26227273 (25.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13370 bytes 2291313 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13370 bytes 2291313 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 62477 bytes 11659101 (11.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47283 bytes 26239540 (25.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13373 bytes 2291469 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13373 bytes 2291469 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 62801 bytes 11704507 (11.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47676 bytes 26704798 (25.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13373 bytes 2291469 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13373 bytes 2291469 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 63015 bytes 11742409 (11.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47752 bytes 26714200 (25.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13373 bytes 2291469 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13373 bytes 2291469 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 63192 bytes 11776649 (11.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47812 bytes 26722254 (25.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13379 bytes 2291829 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13379 bytes 2291829 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 63556 bytes 11827538 (11.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48218 bytes 27212341 (25.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13380 bytes 2291889 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13380 bytes 2291889 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 63741 bytes 11864738 (11.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48298 bytes 27224002 (25.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13380 bytes 2291889 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13380 bytes 2291889 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 64088 bytes 11914717 (11.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48705 bytes 27704756 (26.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13380 bytes 2291889 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13380 bytes 2291889 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 64267 bytes 11949215 (11.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48766 bytes 27712838 (26.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13380 bytes 2291889 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13380 bytes 2291889 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 64436 bytes 11982508 (11.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48830 bytes 27721116 (26.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13380 bytes 2291889 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13380 bytes 2291889 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 64778 bytes 12031482 (11.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49229 bytes 28210525 (26.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13380 bytes 2291889 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13380 bytes 2291889 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 64978 bytes 12070650 (11.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49317 bytes 28222810 (26.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13386 bytes 2292217 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13386 bytes 2292217 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 65330 bytes 12120707 (11.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49700 bytes 28670105 (27.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13386 bytes 2292217 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13386 bytes 2292217 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 65513 bytes 12155249 (11.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49767 bytes 28678607 (27.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13386 bytes 2292217 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13386 bytes 2292217 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 65684 bytes 12188588 (11.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49825 bytes 28686463 (27.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13386 bytes 2292217 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13386 bytes 2292217 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 66018 bytes 12236782 (11.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50204 bytes 29134758 (27.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13386 bytes 2292217 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13386 bytes 2292217 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 66199 bytes 12271455 (11.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50269 bytes 29143324 (27.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13391 bytes 2292517 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13391 bytes 2292517 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 66530 bytes 12320346 (11.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50661 bytes 29608555 (28.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13393 bytes 2292637 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13393 bytes 2292637 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 66730 bytes 12358628 (11.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50750 bytes 29620856 (28.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13393 bytes 2292637 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13393 bytes 2292637 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 66897 bytes 12391886 (11.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50805 bytes 29628470 (28.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13393 bytes 2292637 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13393 bytes 2292637 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 67233 bytes 12440619 (11.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51203 bytes 30101274 (28.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13393 bytes 2292637 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13393 bytes 2292637 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 67430 bytes 12478576 (11.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51291 bytes 30113657 (28.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13399 bytes 2292965 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13399 bytes 2292965 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 67768 bytes 12527305 (11.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51698 bytes 30595736 (29.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13399 bytes 2292965 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13399 bytes 2292965 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 67946 bytes 12561438 (11.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51760 bytes 30603890 (29.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13399 bytes 2292965 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13399 bytes 2292965 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 68143 bytes 12597126 (12.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51828 bytes 30612616 (29.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13399 bytes 2292965 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13399 bytes 2292965 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 68471 bytes 12645808 (12.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52227 bytes 31091172 (29.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13399 bytes 2292965 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13399 bytes 2292965 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 68654 bytes 12680212 (12.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52289 bytes 31099452 (29.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13399 bytes 2292965 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13399 bytes 2292965 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 68997 bytes 12726407 (12.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52697 bytes 31589485 (30.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13399 bytes 2292965 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13399 bytes 2292965 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 69172 bytes 12762950 (12.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52757 bytes 31597429 (30.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13404 bytes 2293265 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13404 bytes 2293265 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 69363 bytes 12795543 (12.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52821 bytes 31605827 (30.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13406 bytes 2293385 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13406 bytes 2293385 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 69720 bytes 12848036 (12.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53244 bytes 32079613 (30.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13406 bytes 2293385 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13406 bytes 2293385 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 69917 bytes 12886802 (12.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53333 bytes 32091924 (30.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13412 bytes 2293713 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13412 bytes 2293713 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 70282 bytes 12938606 (12.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53710 bytes 32543005 (31.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13412 bytes 2293713 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13412 bytes 2293713 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 70454 bytes 12972283 (12.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53780 bytes 32551753 (31.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13412 bytes 2293713 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13412 bytes 2293713 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 70612 bytes 13004565 (12.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53838 bytes 32559621 (31.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13412 bytes 2293713 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13412 bytes 2293713 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 70901 bytes 13050272 (12.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54241 bytes 33037244 (31.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13412 bytes 2293713 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13412 bytes 2293713 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 71081 bytes 13083827 (12.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54302 bytes 33045302 (31.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13412 bytes 2293713 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13412 bytes 2293713 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 71410 bytes 13132500 (12.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54687 bytes 33508454 (31.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13412 bytes 2293713 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13412 bytes 2293713 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 71583 bytes 13166508 (12.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54757 bytes 33517396 (31.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13412 bytes 2293713 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13412 bytes 2293713 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 71782 bytes 13202298 (12.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54815 bytes 33525172 (31.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13412 bytes 2293713 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13412 bytes 2293713 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 72129 bytes 13251511 (12.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55226 bytes 34011359 (32.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13415 bytes 2293893 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13415 bytes 2293893 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 72299 bytes 13285113 (12.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55288 bytes 34019659 (32.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13422 bytes 2294305 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13422 bytes 2294305 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 72673 bytes 13339249 (12.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55712 bytes 34497955 (32.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13425 bytes 2294461 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13425 bytes 2294461 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 72871 bytes 13377547 (12.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55798 bytes 34509994 (32.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13425 bytes 2294461 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13425 bytes 2294461 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 73068 bytes 13413503 (12.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55860 bytes 34518167 (32.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13425 bytes 2294461 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13425 bytes 2294461 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 73411 bytes 13462739 (12.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56242 bytes 34966810 (33.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13425 bytes 2294461 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13425 bytes 2294461 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 73584 bytes 13496436 (12.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56299 bytes 34974608 (33.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13425 bytes 2294461 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13425 bytes 2294461 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 73937 bytes 13546665 (12.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56686 bytes 35429271 (33.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13425 bytes 2294461 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13425 bytes 2294461 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 74126 bytes 13581755 (12.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56744 bytes 35437119 (33.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13425 bytes 2294461 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13425 bytes 2294461 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 74310 bytes 13616478 (12.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56808 bytes 35445397 (33.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13425 bytes 2294461 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13425 bytes 2294461 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 74665 bytes 13666636 (13.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57193 bytes 35895722 (34.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13425 bytes 2294461 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13425 bytes 2294461 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 74851 bytes 13701167 (13.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57254 bytes 35903794 (34.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13425 bytes 2294461 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13425 bytes 2294461 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 75179 bytes 13752300 (13.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57675 bytes 36397097 (34.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13431 bytes 2294789 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13431 bytes 2294789 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 75369 bytes 13787926 (13.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57748 bytes 36406220 (34.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13437 bytes 2295149 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13437 bytes 2295149 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 75542 bytes 13821658 (13.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57805 bytes 36413969 (34.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13438 bytes 2295209 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13438 bytes 2295209 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 75916 bytes 13875648 (13.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58226 bytes 36907208 (35.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13438 bytes 2295209 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13438 bytes 2295209 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 76101 bytes 13910794 (13.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58291 bytes 36915525 (35.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13438 bytes 2295209 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13438 bytes 2295209 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 76445 bytes 13960122 (13.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58671 bytes 37373943 (35.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13438 bytes 2295209 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13438 bytes 2295209 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 76624 bytes 13993978 (13.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58740 bytes 37382745 (35.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13438 bytes 2295209 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13438 bytes 2295209 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 76802 bytes 14028347 (13.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58795 bytes 37390354 (35.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13438 bytes 2295209 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13438 bytes 2295209 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 77179 bytes 14080365 (13.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59201 bytes 37868010 (36.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13438 bytes 2295209 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13438 bytes 2295209 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 77351 bytes 14111126 (13.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59258 bytes 37875714 (36.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13438 bytes 2295209 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13438 bytes 2295209 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 77714 bytes 14165048 (13.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59677 bytes 38342368 (36.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13444 bytes 2295537 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13444 bytes 2295537 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 77916 bytes 14201126 (13.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59742 bytes 38350715 (36.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13444 bytes 2295537 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13444 bytes 2295537 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 78109 bytes 14236709 (13.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59803 bytes 38358803 (36.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13444 bytes 2295537 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13444 bytes 2295537 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 78451 bytes 14285916 (13.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60199 bytes 38824278 (37.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13450 bytes 2295897 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13450 bytes 2295897 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 78623 bytes 14319333 (13.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60259 bytes 38832324 (37.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13451 bytes 2295957 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13451 bytes 2295957 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 78974 bytes 14371368 (13.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60667 bytes 39287708 (37.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13451 bytes 2295957 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13451 bytes 2295957 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 79126 bytes 14403805 (13.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60724 bytes 39295541 (37.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13451 bytes 2295957 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13451 bytes 2295957 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 79287 bytes 14436588 (13.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60790 bytes 39304111 (37.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13451 bytes 2295957 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13451 bytes 2295957 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 79610 bytes 14484152 (13.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61175 bytes 39761496 (37.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13451 bytes 2295957 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13451 bytes 2295957 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 79786 bytes 14518233 (13.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61240 bytes 39769847 (37.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13451 bytes 2295957 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13451 bytes 2295957 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 80190 bytes 14574688 (13.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61762 bytes 40392317 (38.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13457 bytes 2296285 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13457 bytes 2296285 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 80365 bytes 14608796 (13.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61831 bytes 40400971 (38.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13457 bytes 2296285 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13457 bytes 2296285 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 80523 bytes 14641227 (13.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61889 bytes 40408819 (38.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13457 bytes 2296285 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13457 bytes 2296285 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 80916 bytes 14694061 (14.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62383 bytes 41014080 (39.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13457 bytes 2296285 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13457 bytes 2296285 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 81083 bytes 14727300 (14.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62440 bytes 41021900 (39.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13457 bytes 2296285 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13457 bytes 2296285 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 81449 bytes 14777236 (14.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62942 bytes 41659207 (39.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13462 bytes 2296585 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13462 bytes 2296585 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 81621 bytes 14811755 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63008 bytes 41667697 (39.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13464 bytes 2296705 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13464 bytes 2296705 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 81811 bytes 14849269 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63088 bytes 41679194 (39.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13464 bytes 2296705 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13464 bytes 2296705 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 82231 bytes 14904603 (14.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63614 bytes 42327091 (40.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13464 bytes 2296705 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13464 bytes 2296705 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 82425 bytes 14940417 (14.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63672 bytes 42334854 (40.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13464 bytes 2296705 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13464 bytes 2296705 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 82861 bytes 14996294 (14.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64201 bytes 42989663 (40.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13467 bytes 2296877 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13467 bytes 2296877 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 83079 bytes 15036370 (14.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64287 bytes 43001640 (41.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13470 bytes 2297033 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13470 bytes 2297033 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 83251 bytes 15069939 (14.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64349 bytes 43009841 (41.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13470 bytes 2297033 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13470 bytes 2297033 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 83664 bytes 15123661 (14.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64860 bytes 43646866 (41.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13470 bytes 2297033 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13470 bytes 2297033 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 83837 bytes 15157549 (14.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64920 bytes 43654900 (41.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13470 bytes 2297033 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13470 bytes 2297033 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 84222 bytes 15209016 (14.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65412 bytes 44274193 (42.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13470 bytes 2297033 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13470 bytes 2297033 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 84422 bytes 15245342 (14.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65476 bytes 44282620 (42.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13470 bytes 2297033 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13470 bytes 2297033 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 84593 bytes 15279130 (14.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65538 bytes 44290778 (42.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13475 bytes 2297333 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13475 bytes 2297333 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 85013 bytes 15334446 (14.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66047 bytes 44932959 (42.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13477 bytes 2297453 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13477 bytes 2297453 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 85220 bytes 15371389 (14.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66142 bytes 44945728 (42.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13477 bytes 2297453 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13477 bytes 2297453 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 85613 bytes 15424176 (14.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66642 bytes 45575743 (43.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13477 bytes 2297453 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13477 bytes 2297453 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 85813 bytes 15462473 (14.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66732 bytes 45588193 (43.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13483 bytes 2297781 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13483 bytes 2297781 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 86002 bytes 15497393 (14.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66791 bytes 45596123 (43.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13483 bytes 2297781 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13483 bytes 2297781 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 86352 bytes 15546901 (14.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67301 bytes 46227206 (44.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13483 bytes 2297781 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13483 bytes 2297781 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 86517 bytes 15579896 (14.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67358 bytes 46235028 (44.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13483 bytes 2297781 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13483 bytes 2297781 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 86920 bytes 15633619 (14.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67860 bytes 46867967 (44.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13483 bytes 2297781 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13483 bytes 2297781 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 87098 bytes 15667652 (14.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67930 bytes 46876932 (44.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13483 bytes 2297781 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13483 bytes 2297781 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 87293 bytes 15704952 (14.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67985 bytes 46884533 (44.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13483 bytes 2297781 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13483 bytes 2297781 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 87703 bytes 15758971 (15.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68498 bytes 47515663 (45.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13483 bytes 2297781 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13483 bytes 2297781 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 87887 bytes 15793910 (15.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68555 bytes 47523413 (45.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13486 bytes 2297961 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13486 bytes 2297961 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 88298 bytes 15847958 (15.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69071 bytes 48166098 (45.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13489 bytes 2298141 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13489 bytes 2298141 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 88500 bytes 15886765 (15.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69154 bytes 48177967 (45.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13496 bytes 2298529 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13496 bytes 2298529 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 88696 bytes 15925443 (15.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69244 bytes 48190356 (45.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13496 bytes 2298529 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13496 bytes 2298529 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 89092 bytes 15978719 (15.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69757 bytes 48828557 (46.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13496 bytes 2298529 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13496 bytes 2298529 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 89290 bytes 16014184 (15.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69818 bytes 48836665 (46.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13496 bytes 2298529 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13496 bytes 2298529 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 89686 bytes 16067310 (15.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70316 bytes 49465020 (47.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13496 bytes 2298529 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13496 bytes 2298529 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 89863 bytes 16101534 (15.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70374 bytes 49472876 (47.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13496 bytes 2298529 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13496 bytes 2298529 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 90036 bytes 16135241 (15.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70439 bytes 49481252 (47.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13496 bytes 2298529 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13496 bytes 2298529 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 90432 bytes 16188082 (15.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70947 bytes 50113439 (47.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13496 bytes 2298529 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13496 bytes 2298529 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 90623 bytes 16223515 (15.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71011 bytes 50121737 (47.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13496 bytes 2298529 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13496 bytes 2298529 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 91020 bytes 16276309 (15.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71495 bytes 50728955 (48.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13496 bytes 2298529 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13496 bytes 2298529 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 91223 bytes 16315219 (15.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71590 bytes 50741933 (48.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13503 bytes 2298909 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13503 bytes 2298909 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 91419 bytes 16350538 (15.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71656 bytes 50750400 (48.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13509 bytes 2299269 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13509 bytes 2299269 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 91820 bytes 16403090 (15.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72172 bytes 51403964 (49.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13510 bytes 2299329 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13510 bytes 2299329 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 92023 bytes 16442002 (15.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72264 bytes 51416484 (49.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13510 bytes 2299329 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13510 bytes 2299329 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 92372 bytes 16491791 (15.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72742 bytes 52018926 (49.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13510 bytes 2299329 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13510 bytes 2299329 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 92565 bytes 16527279 (15.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72812 bytes 52027846 (49.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13510 bytes 2299329 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13510 bytes 2299329 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 92740 bytes 16560720 (15.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72866 bytes 52035369 (49.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13510 bytes 2299329 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13510 bytes 2299329 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 93125 bytes 16609917 (15.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73361 bytes 52644851 (50.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13510 bytes 2299329 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13510 bytes 2299329 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 93298 bytes 16643307 (15.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73416 bytes 52652427 (50.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13510 bytes 2299329 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13510 bytes 2299329 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 93713 bytes 16698768 (15.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73923 bytes 53282642 (50.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13510 bytes 2299329 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13510 bytes 2299329 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 93889 bytes 16732579 (15.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73984 bytes 53290720 (50.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13513 bytes 2299501 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13513 bytes 2299501 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 94093 bytes 16771156 (15.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74077 bytes 53303301 (50.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13516 bytes 2299657 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13516 bytes 2299657 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 94481 bytes 16823277 (16.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74570 bytes 53917090 (51.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13516 bytes 2299657 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13516 bytes 2299657 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 94654 bytes 16856932 (16.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74638 bytes 53925844 (51.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13522 bytes 2300017 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13522 bytes 2300017 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 95064 bytes 16911047 (16.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75147 bytes 54566565 (52.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13523 bytes 2300077 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13523 bytes 2300077 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 95266 bytes 16950406 (16.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75235 bytes 54578890 (52.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13523 bytes 2300077 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13523 bytes 2300077 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 95453 bytes 16985826 (16.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75298 bytes 54587074 (52.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13523 bytes 2300077 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13523 bytes 2300077 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 95855 bytes 17038992 (16.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75783 bytes 55187079 (52.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13523 bytes 2300077 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13523 bytes 2300077 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 96033 bytes 17073786 (16.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75848 bytes 55195483 (52.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13523 bytes 2300077 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13523 bytes 2300077 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 96423 bytes 17126331 (16.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76350 bytes 55827206 (53.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13523 bytes 2300077 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13523 bytes 2300077 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 96601 bytes 17160385 (16.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76412 bytes 55835352 (53.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13523 bytes 2300077 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13523 bytes 2300077 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 96805 bytes 17199714 (16.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76497 bytes 55847123 (53.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13529 bytes 2300405 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13529 bytes 2300405 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 97195 bytes 17252260 (16.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76990 bytes 56457825 (53.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13529 bytes 2300405 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13529 bytes 2300405 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 97378 bytes 17286863 (16.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77049 bytes 56465755 (53.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13529 bytes 2300405 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13529 bytes 2300405 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 97773 bytes 17339603 (16.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77543 bytes 57082474 (54.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13529 bytes 2300405 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13529 bytes 2300405 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 97928 bytes 17372182 (16.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77607 bytes 57090792 (54.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13534 bytes 2300705 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13534 bytes 2300705 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 98096 bytes 17405044 (16.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77662 bytes 57098406 (54.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13536 bytes 2300825 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13536 bytes 2300825 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 98527 bytes 17463309 (16.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78208 bytes 57748532 (55.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13536 bytes 2300825 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13536 bytes 2300825 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 98692 bytes 17496436 (16.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78265 bytes 57756254 (55.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13536 bytes 2300825 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13536 bytes 2300825 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 99101 bytes 17550367 (16.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78767 bytes 58385067 (55.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13536 bytes 2300825 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13536 bytes 2300825 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 99292 bytes 17585739 (16.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78832 bytes 58393565 (55.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13536 bytes 2300825 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13536 bytes 2300825 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 99492 bytes 17624492 (16.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78923 bytes 58406114 (55.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13542 bytes 2301153 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13542 bytes 2301153 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 99903 bytes 17678227 (16.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79433 bytes 59049744 (56.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13542 bytes 2301153 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13542 bytes 2301153 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 100081 bytes 17712056 (16.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79494 bytes 59057860 (56.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13542 bytes 2301153 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13542 bytes 2301153 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 100464 bytes 17763871 (16.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79998 bytes 59689673 (56.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13542 bytes 2301153 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13542 bytes 2301153 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 100617 bytes 17795729 (16.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80056 bytes 59697513 (56.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13542 bytes 2301153 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13542 bytes 2301153 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 100787 bytes 17826019 (17.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80117 bytes 59705569 (56.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13542 bytes 2301153 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13542 bytes 2301153 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 101164 bytes 17879658 (17.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80610 bytes 60324974 (57.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13547 bytes 2301453 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13547 bytes 2301453 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 101342 bytes 17911134 (17.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80673 bytes 60333186 (57.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13549 bytes 2301573 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13549 bytes 2301573 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 101761 bytes 17968600 (17.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81201 bytes 60967530 (58.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13549 bytes 2301573 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13549 bytes 2301573 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 101955 bytes 18004617 (17.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81265 bytes 60975744 (58.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13549 bytes 2301573 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13549 bytes 2301573 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 102179 bytes 18045659 (17.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81357 bytes 60988497 (58.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13555 bytes 2301901 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13555 bytes 2301901 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 102563 bytes 18097311 (17.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81870 bytes 61625107 (58.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13555 bytes 2301901 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13555 bytes 2301901 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 102731 bytes 18130602 (17.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81931 bytes 61633177 (58.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13555 bytes 2301901 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13555 bytes 2301901 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 103133 bytes 18184043 (17.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82447 bytes 62278922 (59.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13555 bytes 2301901 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13555 bytes 2301901 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 103292 bytes 18216863 (17.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82507 bytes 62286958 (59.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13555 bytes 2301901 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13555 bytes 2301901 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 103468 bytes 18250887 (17.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82569 bytes 62295197 (59.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13555 bytes 2301901 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13555 bytes 2301901 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 103862 bytes 18303516 (17.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83087 bytes 62932432 (60.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13555 bytes 2301901 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13555 bytes 2301901 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 104049 bytes 18338335 (17.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83144 bytes 62940194 (60.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13555 bytes 2301901 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13555 bytes 2301901 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 104454 bytes 18392462 (17.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83660 bytes 63575875 (60.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13558 bytes 2302081 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13558 bytes 2302081 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 104617 bytes 18425404 (17.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83719 bytes 63583721 (60.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13561 bytes 2302261 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13561 bytes 2302261 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 104803 bytes 18460744 (17.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83788 bytes 63592499 (60.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13565 bytes 2302493 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13565 bytes 2302493 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 105259 bytes 18524029 (17.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84343 bytes 64232035 (61.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13568 bytes 2302649 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13568 bytes 2302649 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 105428 bytes 18558031 (17.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84405 bytes 64240217 (61.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13568 bytes 2302649 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13568 bytes 2302649 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 105806 bytes 18609220 (17.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84909 bytes 64866284 (61.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13568 bytes 2302649 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13568 bytes 2302649 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 105977 bytes 18643227 (17.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84966 bytes 64874042 (61.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13568 bytes 2302649 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13568 bytes 2302649 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 106153 bytes 18677462 (17.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 85033 bytes 64882666 (61.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13568 bytes 2302649 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13568 bytes 2302649 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 106534 bytes 18729206 (17.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 85524 bytes 65495661 (62.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13568 bytes 2302649 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13568 bytes 2302649 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 106709 bytes 18763357 (17.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 85594 bytes 65504531 (62.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13568 bytes 2302649 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13568 bytes 2302649 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 107132 bytes 18818104 (17.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86163 bytes 66240471 (63.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13568 bytes 2302649 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13568 bytes 2302649 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 107299 bytes 18851636 (17.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86225 bytes 66248616 (63.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13568 bytes 2302649 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13568 bytes 2302649 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 107478 bytes 18886221 (18.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86295 bytes 66257489 (63.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13568 bytes 2302649 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13568 bytes 2302649 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 107955 bytes 18947645 (18.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86938 bytes 67058674 (63.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13580 bytes 2303337 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13580 bytes 2303337 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 108127 bytes 18981135 (18.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86998 bytes 67066657 (63.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13581 bytes 2303397 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13581 bytes 2303397 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 108672 bytes 19049429 (18.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 87628 bytes 67832405 (64.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13581 bytes 2303397 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13581 bytes 2303397 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 108844 bytes 19083225 (18.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 87687 bytes 67840322 (64.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13581 bytes 2303397 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13581 bytes 2303397 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 109022 bytes 19117641 (18.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 87747 bytes 67848452 (64.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13581 bytes 2303397 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13581 bytes 2303397 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 109461 bytes 19173265 (18.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 88356 bytes 68627531 (65.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13581 bytes 2303397 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13581 bytes 2303397 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 109621 bytes 19203532 (18.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 88416 bytes 68635670 (65.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13581 bytes 2303397 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13581 bytes 2303397 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 110073 bytes 19260190 (18.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89024 bytes 69420555 (66.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13581 bytes 2303397 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13581 bytes 2303397 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 110244 bytes 19293780 (18.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89083 bytes 69428392 (66.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13581 bytes 2303397 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13581 bytes 2303397 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 110426 bytes 19328657 (18.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89150 bytes 69436949 (66.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13581 bytes 2303397 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13581 bytes 2303397 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 110888 bytes 19388870 (18.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89770 bytes 70207599 (66.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13588 bytes 2303777 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13588 bytes 2303777 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 111094 bytes 19425652 (18.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89839 bytes 70216427 (66.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13588 bytes 2303777 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13588 bytes 2303777 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 111496 bytes 19479094 (18.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90430 bytes 70973968 (67.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13594 bytes 2304137 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13594 bytes 2304137 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 111730 bytes 19518911 (18.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90493 bytes 70982314 (67.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13595 bytes 2304197 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13595 bytes 2304197 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 111941 bytes 19559431 (18.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90586 bytes 70994999 (67.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13595 bytes 2304197 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13595 bytes 2304197 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 112481 bytes 19623281 (18.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91186 bytes 71745069 (68.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13595 bytes 2304197 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13595 bytes 2304197 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 112668 bytes 19659311 (18.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91250 bytes 71753367 (68.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13595 bytes 2304197 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13595 bytes 2304197 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 113106 bytes 19715943 (18.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91861 bytes 72538504 (69.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13595 bytes 2304197 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13595 bytes 2304197 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 113273 bytes 19749525 (18.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91924 bytes 72546723 (69.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13595 bytes 2304197 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13595 bytes 2304197 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 113448 bytes 19783385 (18.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91986 bytes 72554873 (69.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13595 bytes 2304197 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13595 bytes 2304197 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 113896 bytes 19842826 (18.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 92641 bytes 73363487 (69.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13602 bytes 2304577 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13602 bytes 2304577 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 114068 bytes 19877002 (18.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 92706 bytes 73372001 (69.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13602 bytes 2304577 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13602 bytes 2304577 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 114512 bytes 19933094 (19.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 93303 bytes 74141620 (70.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13602 bytes 2304577 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13602 bytes 2304577 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 114762 bytes 19974950 (19.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 93376 bytes 74150877 (70.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13602 bytes 2304577 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13602 bytes 2304577 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 114937 bytes 20004340 (19.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 93434 bytes 74158869 (70.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13607 bytes 2304877 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13607 bytes 2304877 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 115449 bytes 20071064 (19.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94046 bytes 74944086 (71.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13609 bytes 2304997 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13609 bytes 2304997 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 115653 bytes 20111220 (19.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94127 bytes 74955701 (71.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13609 bytes 2304997 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13609 bytes 2304997 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 116179 bytes 20174185 (19.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94742 bytes 75728324 (72.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13609 bytes 2304997 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13609 bytes 2304997 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 116376 bytes 20210394 (19.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94799 bytes 75736082 (72.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13609 bytes 2304997 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13609 bytes 2304997 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 116599 bytes 20245675 (19.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94872 bytes 75745232 (72.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13609 bytes 2304997 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13609 bytes 2304997 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 117062 bytes 20303253 (19.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 95481 bytes 76548425 (73.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13612 bytes 2305169 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13612 bytes 2305169 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 117320 bytes 20349562 (19.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 95572 bytes 76561023 (73.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13615 bytes 2305325 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13615 bytes 2305325 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 117787 bytes 20408011 (19.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96174 bytes 77335438 (73.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13615 bytes 2305325 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13615 bytes 2305325 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 118013 bytes 20444362 (19.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96240 bytes 77344032 (73.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13615 bytes 2305325 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13615 bytes 2305325 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 118197 bytes 20479284 (19.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96303 bytes 77352393 (73.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13615 bytes 2305325 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13615 bytes 2305325 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 118630 bytes 20533870 (19.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96887 bytes 78103736 (74.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13615 bytes 2305325 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13615 bytes 2305325 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 118799 bytes 20567728 (19.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96957 bytes 78112610 (74.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13619 bytes 2305565 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13619 bytes 2305565 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 119238 bytes 20622704 (19.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 97560 bytes 78899963 (75.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13622 bytes 2305745 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13622 bytes 2305745 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 119457 bytes 20664092 (19.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 97655 bytes 78912728 (75.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13622 bytes 2305745 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13622 bytes 2305745 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 119643 bytes 20698891 (19.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 97717 bytes 78920902 (75.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13622 bytes 2305745 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13622 bytes 2305745 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 120048 bytes 20749954 (19.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98310 bytes 79671527 (75.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13622 bytes 2305745 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13622 bytes 2305745 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 120242 bytes 20787711 (19.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98393 bytes 79683452 (75.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13628 bytes 2306073 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13628 bytes 2306073 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 120702 bytes 20845216 (19.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98987 bytes 80447093 (76.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13628 bytes 2306073 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13628 bytes 2306073 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 120884 bytes 20880330 (19.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 99053 bytes 80455669 (76.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13628 bytes 2306073 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13628 bytes 2306073 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 121086 bytes 20916759 (19.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 99108 bytes 80463239 (76.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13628 bytes 2306073 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13628 bytes 2306073 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 121527 bytes 20972044 (20.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 99729 bytes 81259006 (77.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13628 bytes 2306073 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13628 bytes 2306073 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 121704 bytes 21006005 (20.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 99787 bytes 81266801 (77.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13628 bytes 2306073 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13628 bytes 2306073 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 122168 bytes 21063910 (20.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 100394 bytes 82044339 (78.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13628 bytes 2306073 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13628 bytes 2306073 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 122333 bytes 21096972 (20.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 100457 bytes 82052681 (78.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13630 bytes 2306193 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13630 bytes 2306193 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 122539 bytes 21133684 (20.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 100522 bytes 82061079 (78.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13634 bytes 2306433 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13634 bytes 2306433 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 123021 bytes 21192668 (20.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 101119 bytes 82827154 (78.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13635 bytes 2306493 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13635 bytes 2306493 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 123245 bytes 21235812 (20.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 101236 bytes 82843894 (79.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13641 bytes 2306821 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13641 bytes 2306821 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 123654 bytes 21289166 (20.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 101814 bytes 83587621 (79.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13641 bytes 2306821 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13641 bytes 2306821 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 123838 bytes 21324172 (20.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 101875 bytes 83595728 (79.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13641 bytes 2306821 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13641 bytes 2306821 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 124033 bytes 21359591 (20.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 101936 bytes 83603814 (79.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13641 bytes 2306821 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13641 bytes 2306821 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 124494 bytes 21416299 (20.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 102544 bytes 84390213 (80.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13641 bytes 2306821 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13641 bytes 2306821 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 124677 bytes 21450825 (20.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 102609 bytes 84398557 (80.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13641 bytes 2306821 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13641 bytes 2306821 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 125111 bytes 21505780 (20.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 103186 bytes 85145163 (81.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13641 bytes 2306821 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13641 bytes 2306821 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 125304 bytes 21542411 (20.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 103256 bytes 85154053 (81.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13641 bytes 2306821 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13641 bytes 2306821 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 125486 bytes 21576923 (20.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 103321 bytes 85162574 (81.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13641 bytes 2306821 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13641 bytes 2306821 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 125921 bytes 21631974 (20.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 103921 bytes 85933330 (81.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13641 bytes 2306821 (2.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13641 bytes 2306821 (2.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 126124 bytes 21671077 (20.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 104005 bytes 85945354 (81.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13653 bytes 2307509 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13653 bytes 2307509 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 126555 bytes 21723647 (20.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 104590 bytes 86698702 (82.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13654 bytes 2307569 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13654 bytes 2307569 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 126767 bytes 21763496 (20.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 104678 bytes 86711076 (82.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13654 bytes 2307569 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13654 bytes 2307569 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 126941 bytes 21797513 (20.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 104732 bytes 86718553 (82.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13654 bytes 2307569 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13654 bytes 2307569 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 127402 bytes 21854324 (20.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 105327 bytes 87469464 (83.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13654 bytes 2307569 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13654 bytes 2307569 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 127590 bytes 21889366 (20.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 105384 bytes 87477195 (83.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13654 bytes 2307569 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13654 bytes 2307569 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 128037 bytes 21945771 (20.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 105986 bytes 88250118 (84.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13654 bytes 2307569 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13654 bytes 2307569 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 128223 bytes 21980667 (20.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 106049 bytes 88258418 (84.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13654 bytes 2307569 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13654 bytes 2307569 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 128428 bytes 22017479 (20.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 106115 bytes 88266896 (84.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13654 bytes 2307569 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13654 bytes 2307569 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 128853 bytes 22071526 (21.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 106708 bytes 89030686 (84.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13654 bytes 2307569 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13654 bytes 2307569 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 129030 bytes 22105806 (21.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 106775 bytes 89039296 (84.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13657 bytes 2307741 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13657 bytes 2307741 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 129502 bytes 22166808 (21.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 107412 bytes 89834242 (85.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13660 bytes 2307897 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13660 bytes 2307897 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 129682 bytes 22201507 (21.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 107474 bytes 89842430 (85.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13666 bytes 2308257 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13666 bytes 2308257 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 129862 bytes 22236598 (21.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 107534 bytes 89850344 (85.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13667 bytes 2308317 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13667 bytes 2308317 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 130328 bytes 22297736 (21.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 108162 bytes 90631730 (86.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13667 bytes 2308317 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13667 bytes 2308317 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 130535 bytes 22335261 (21.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 108225 bytes 90639964 (86.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13667 bytes 2308317 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13667 bytes 2308317 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 130932 bytes 22387229 (21.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 108820 bytes 91402146 (87.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13667 bytes 2308317 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13667 bytes 2308317 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 131130 bytes 22422777 (21.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 108886 bytes 91410650 (87.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13667 bytes 2308317 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13667 bytes 2308317 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 131323 bytes 22459191 (21.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 108951 bytes 91419156 (87.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13667 bytes 2308317 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13667 bytes 2308317 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 131799 bytes 22517415 (21.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 109543 bytes 92172507 (87.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13667 bytes 2308317 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13667 bytes 2308317 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 131999 bytes 22553943 (21.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 109606 bytes 92180882 (87.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13667 bytes 2308317 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13667 bytes 2308317 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 132453 bytes 22613562 (21.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 110231 bytes 92959098 (88.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13673 bytes 2308645 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13673 bytes 2308645 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 132643 bytes 22650524 (21.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 110292 bytes 92967146 (88.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13673 bytes 2308645 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13673 bytes 2308645 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 132886 bytes 22693116 (21.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 110350 bytes 92975107 (88.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13673 bytes 2308645 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13673 bytes 2308645 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 133332 bytes 22750369 (21.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 110956 bytes 93751980 (89.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13678 bytes 2308945 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13678 bytes 2308945 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 133512 bytes 22785251 (21.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 111019 bytes 93760291 (89.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13680 bytes 2309065 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13680 bytes 2309065 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 133998 bytes 22848092 (21.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 111669 bytes 94560559 (90.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13680 bytes 2309065 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13680 bytes 2309065 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 134167 bytes 22881914 (21.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 111727 bytes 94568385 (90.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13680 bytes 2309065 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13680 bytes 2309065 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 134350 bytes 22917783 (21.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 111797 bytes 94577139 (90.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13680 bytes 2309065 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13680 bytes 2309065 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 134799 bytes 22973805 (21.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 112398 bytes 95358553 (90.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13680 bytes 2309065 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13680 bytes 2309065 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 134962 bytes 23004448 (21.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 112461 bytes 95366831 (90.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13680 bytes 2309065 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13680 bytes 2309065 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 135477 bytes 23070089 (22.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 113084 bytes 96132145 (91.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13686 bytes 2309393 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13686 bytes 2309393 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 135658 bytes 23101401 (22.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 113147 bytes 96140370 (91.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13686 bytes 2309393 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13686 bytes 2309393 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 135873 bytes 23141990 (22.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 113210 bytes 96148682 (91.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13686 bytes 2309393 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13686 bytes 2309393 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 136331 bytes 23199462 (22.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 113818 bytes 96931700 (92.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13686 bytes 2309393 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13686 bytes 2309393 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 136514 bytes 23234041 (22.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 113882 bytes 96939980 (92.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13686 bytes 2309393 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13686 bytes 2309393 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 137002 bytes 23293183 (22.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 114513 bytes 97761043 (93.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13690 bytes 2309633 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13690 bytes 2309633 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 137233 bytes 23332514 (22.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 114583 bytes 97769891 (93.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13693 bytes 2309813 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13693 bytes 2309813 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 137442 bytes 23372048 (22.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 114669 bytes 97781956 (93.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13693 bytes 2309813 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13693 bytes 2309813 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 137899 bytes 23429405 (22.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 115327 bytes 98622363 (94.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13693 bytes 2309813 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13693 bytes 2309813 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 138065 bytes 23463318 (22.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 115385 bytes 98630241 (94.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13693 bytes 2309813 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13693 bytes 2309813 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 138590 bytes 23527420 (22.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 116067 bytes 99487479 (94.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13699 bytes 2310141 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13699 bytes 2310141 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 138743 bytes 23559587 (22.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 116129 bytes 99495585 (94.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13699 bytes 2310141 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13699 bytes 2310141 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 138996 bytes 23601091 (22.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 116194 bytes 99504147 (94.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13699 bytes 2310141 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13699 bytes 2310141 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 139460 bytes 23657868 (22.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 116849 bytes 100363009 (95.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13699 bytes 2310141 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13699 bytes 2310141 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 139658 bytes 23694830 (22.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 116911 bytes 100371259 (95.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13699 bytes 2310141 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13699 bytes 2310141 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 140119 bytes 23752074 (22.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 117571 bytes 101229041 (96.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13699 bytes 2310141 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13699 bytes 2310141 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 140304 bytes 23787440 (22.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 117628 bytes 101236741 (96.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13699 bytes 2310141 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13699 bytes 2310141 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 140499 bytes 23824091 (22.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 117699 bytes 101245765 (96.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13701 bytes 2310261 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13701 bytes 2310261 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 140960 bytes 23881340 (22.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 118342 bytes 102086400 (97.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13705 bytes 2310501 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13705 bytes 2310501 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 141154 bytes 23917701 (22.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 118411 bytes 102095262 (97.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13706 bytes 2310561 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13706 bytes 2310561 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 141611 bytes 23974892 (22.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 119065 bytes 102918748 (98.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13709 bytes 2310733 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13709 bytes 2310733 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 141810 bytes 24014270 (22.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 119159 bytes 102931580 (98.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13713 bytes 2310941 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13713 bytes 2310941 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 142006 bytes 24050105 (22.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 119218 bytes 102939461 (98.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13713 bytes 2310941 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13713 bytes 2310941 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 142480 bytes 24108897 (22.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 119868 bytes 103789535 (98.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13713 bytes 2310941 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13713 bytes 2310941 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 142654 bytes 24143227 (23.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 119937 bytes 103798313 (98.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13713 bytes 2310941 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13713 bytes 2310941 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 143119 bytes 24201079 (23.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 120581 bytes 104645808 (99.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13713 bytes 2310941 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13713 bytes 2310941 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 143233 bytes 24219664 (23.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 120645 bytes 104654055 (99.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13713 bytes 2310941 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13713 bytes 2310941 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 143450 bytes 24257600 (23.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 120704 bytes 104662032 (99.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13713 bytes 2310941 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13713 bytes 2310941 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 143945 bytes 24315659 (23.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 121369 bytes 105523207 (100.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13713 bytes 2310941 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13713 bytes 2310941 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 144104 bytes 24348444 (23.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 121430 bytes 105531251 (100.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13713 bytes 2310941 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13713 bytes 2310941 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 144553 bytes 24404778 (23.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 122073 bytes 106367588 (101.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13719 bytes 2311301 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13719 bytes 2311301 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 144745 bytes 24443031 (23.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 122160 bytes 106379975 (101.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13726 bytes 2311689 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13726 bytes 2311689 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 144934 bytes 24480813 (23.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 122242 bytes 106391696 (101.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13726 bytes 2311689 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13726 bytes 2311689 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 145383 bytes 24536990 (23.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 122880 bytes 107219033 (102.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13726 bytes 2311689 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13726 bytes 2311689 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 145550 bytes 24570512 (23.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 122942 bytes 107227282 (102.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13726 bytes 2311689 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13726 bytes 2311689 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 146004 bytes 24627325 (23.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 123586 bytes 108060890 (103.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13726 bytes 2311689 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13726 bytes 2311689 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 146220 bytes 24668060 (23.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 123644 bytes 108068645 (103.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13726 bytes 2311689 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13726 bytes 2311689 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 146402 bytes 24703224 (23.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 123710 bytes 108077140 (103.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13726 bytes 2311689 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13726 bytes 2311689 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 146855 bytes 24759479 (23.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 124359 bytes 108921248 (103.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13726 bytes 2311689 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13726 bytes 2311689 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 147033 bytes 24794094 (23.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 124424 bytes 108929647 (103.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13726 bytes 2311689 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13726 bytes 2311689 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 147505 bytes 24851585 (23.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 125068 bytes 109767441 (104.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13726 bytes 2311689 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13726 bytes 2311689 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 147709 bytes 24890822 (23.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 125161 bytes 109780242 (104.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13732 bytes 2312017 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13732 bytes 2312017 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 147885 bytes 24925867 (23.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 125217 bytes 109787916 (104.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13738 bytes 2312377 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13738 bytes 2312377 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 148336 bytes 24982545 (23.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 125864 bytes 110633140 (105.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13739 bytes 2312437 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13739 bytes 2312437 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 148537 bytes 25022044 (23.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 125955 bytes 110645684 (105.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13739 bytes 2312437 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13739 bytes 2312437 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 148995 bytes 25079643 (23.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 126600 bytes 111489396 (106.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13739 bytes 2312437 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13739 bytes 2312437 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 149187 bytes 25116366 (23.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 126665 bytes 111497731 (106.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13739 bytes 2312437 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13739 bytes 2312437 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 149368 bytes 25152048 (23.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 126731 bytes 111506392 (106.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13739 bytes 2312437 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13739 bytes 2312437 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 149820 bytes 25208609 (24.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 127368 bytes 112323698 (107.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13739 bytes 2312437 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13739 bytes 2312437 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 150011 bytes 25245580 (24.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 127426 bytes 112331621 (107.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13739 bytes 2312437 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13739 bytes 2312437 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 150488 bytes 25304027 (24.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 128072 bytes 113165261 (107.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13739 bytes 2312437 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13739 bytes 2312437 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 150680 bytes 25342952 (24.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 128159 bytes 113177377 (107.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13745 bytes 2312765 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13745 bytes 2312765 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 150838 bytes 25373108 (24.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 128217 bytes 113185230 (107.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13745 bytes 2312765 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13745 bytes 2312765 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 151020 bytes 25410092 (24.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 128282 bytes 113193726 (107.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13745 bytes 2312765 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13745 bytes 2312765 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 151467 bytes 25463211 (24.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 128925 bytes 114035782 (108.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13750 bytes 2313065 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13750 bytes 2313065 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 151640 bytes 25497673 (24.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 128988 bytes 114044049 (108.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13752 bytes 2313185 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13752 bytes 2313185 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 152150 bytes 25561523 (24.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 129649 bytes 114880862 (109.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13752 bytes 2313185 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13752 bytes 2313185 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 152333 bytes 25597724 (24.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 129721 bytes 114889761 (109.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13752 bytes 2313185 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13752 bytes 2313185 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 152521 bytes 25633469 (24.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 129781 bytes 114897840 (109.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13752 bytes 2313185 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13752 bytes 2313185 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 152982 bytes 25690799 (24.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 130440 bytes 115752168 (110.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13752 bytes 2313185 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13752 bytes 2313185 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 153150 bytes 25724813 (24.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 130499 bytes 115760040 (110.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13752 bytes 2313185 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13752 bytes 2313185 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 153645 bytes 25784823 (24.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 131166 bytes 116622681 (111.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13755 bytes 2313357 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13755 bytes 2313357 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 153836 bytes 25822620 (24.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 131247 bytes 116634336 (111.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13758 bytes 2313513 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13758 bytes 2313513 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 154010 bytes 25857717 (24.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 131309 bytes 116642623 (111.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13758 bytes 2313513 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13758 bytes 2313513 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 154477 bytes 25916764 (24.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 131964 bytes 117488665 (112.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13758 bytes 2313513 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13758 bytes 2313513 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 154654 bytes 25948368 (24.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 132026 bytes 117496968 (112.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13758 bytes 2313513 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13758 bytes 2313513 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 155135 bytes 26008518 (24.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 132683 bytes 118347274 (112.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13762 bytes 2313753 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13762 bytes 2313753 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 155310 bytes 26042494 (24.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 132749 bytes 118355659 (112.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13765 bytes 2313933 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13765 bytes 2313933 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 155523 bytes 26083920 (24.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 132839 bytes 118367925 (112.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13765 bytes 2313933 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13765 bytes 2313933 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 156004 bytes 26142248 (24.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 133489 bytes 119204839 (113.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13765 bytes 2313933 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13765 bytes 2313933 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 156202 bytes 26179117 (24.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 133553 bytes 119213112 (113.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13765 bytes 2313933 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13765 bytes 2313933 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 156669 bytes 26236912 (25.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 134189 bytes 120044677 (114.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13765 bytes 2313933 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13765 bytes 2313933 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 156878 bytes 26276922 (25.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 134282 bytes 120057451 (114.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13771 bytes 2314261 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13771 bytes 2314261 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 157061 bytes 26312209 (25.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 134344 bytes 120065589 (114.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13771 bytes 2314261 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13771 bytes 2314261 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 157524 bytes 26370091 (25.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 134992 bytes 120907640 (115.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13771 bytes 2314261 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13771 bytes 2314261 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 157698 bytes 26404689 (25.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 135057 bytes 120916027 (115.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13771 bytes 2314261 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13771 bytes 2314261 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 158156 bytes 26462204 (25.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 135686 bytes 121742715 (116.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13771 bytes 2314261 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13771 bytes 2314261 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 158341 bytes 26498084 (25.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 135763 bytes 121752116 (116.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13771 bytes 2314261 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13771 bytes 2314261 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 158517 bytes 26532622 (25.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 135819 bytes 121759763 (116.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13773 bytes 2314381 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13773 bytes 2314381 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 158969 bytes 26588895 (25.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 136462 bytes 122591839 (116.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13777 bytes 2314621 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13777 bytes 2314621 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 159151 bytes 26624599 (25.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 136524 bytes 122600098 (116.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13778 bytes 2314681 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13778 bytes 2314681 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 159623 bytes 26686343 (25.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 137202 bytes 123452722 (117.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13778 bytes 2314681 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13778 bytes 2314681 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 159822 bytes 26725127 (25.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 137294 bytes 123465416 (117.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13784 bytes 2315009 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13784 bytes 2315009 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 159994 bytes 26759004 (25.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 137353 bytes 123473379 (117.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13784 bytes 2315009 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13784 bytes 2315009 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 160461 bytes 26817209 (25.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 137992 bytes 124300958 (118.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13784 bytes 2315009 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13784 bytes 2315009 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 160626 bytes 26850246 (25.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 138053 bytes 124309154 (118.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13784 bytes 2315009 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13784 bytes 2315009 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 161116 bytes 26909512 (25.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 138697 bytes 125138297 (119.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13784 bytes 2315009 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13784 bytes 2315009 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 161321 bytes 26945991 (25.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 138765 bytes 125147089 (119.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13784 bytes 2315009 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13784 bytes 2315009 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 161499 bytes 26980838 (25.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 138826 bytes 125155143 (119.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13784 bytes 2315009 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13784 bytes 2315009 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 161986 bytes 27039393 (25.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 139478 bytes 126009428 (120.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13784 bytes 2315009 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13784 bytes 2315009 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 162175 bytes 27075772 (25.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 139544 bytes 126017980 (120.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13784 bytes 2315009 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13784 bytes 2315009 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 162625 bytes 27131952 (25.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 140198 bytes 126878213 (121.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13790 bytes 2315369 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13790 bytes 2315369 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 162823 bytes 27170850 (25.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 140291 bytes 126891054 (121.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13797 bytes 2315757 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13797 bytes 2315757 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 163027 bytes 27210441 (25.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 140374 bytes 126902855 (121.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13797 bytes 2315757 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13797 bytes 2315757 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 163484 bytes 27266821 (26.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 141030 bytes 127759008 (121.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13797 bytes 2315757 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13797 bytes 2315757 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 163660 bytes 27301163 (26.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 141094 bytes 127767361 (121.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13797 bytes 2315757 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13797 bytes 2315757 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 164124 bytes 27356006 (26.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 141749 bytes 128631965 (122.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13797 bytes 2315757 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13797 bytes 2315757 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 164299 bytes 27390098 (26.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 141822 bytes 128641093 (122.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13797 bytes 2315757 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13797 bytes 2315757 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 164491 bytes 27426629 (26.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 141878 bytes 128648772 (122.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13797 bytes 2315757 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13797 bytes 2315757 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 164980 bytes 27485474 (26.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 142556 bytes 129514561 (123.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13797 bytes 2315757 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13797 bytes 2315757 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 165151 bytes 27519377 (26.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 142613 bytes 129522306 (123.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13797 bytes 2315757 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13797 bytes 2315757 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 165593 bytes 27574982 (26.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 143244 bytes 130334976 (124.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13797 bytes 2315757 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13797 bytes 2315757 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 165758 bytes 27608339 (26.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 143306 bytes 130343155 (124.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13800 bytes 2315929 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13800 bytes 2315929 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 165948 bytes 27646102 (26.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 143388 bytes 130354915 (124.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13809 bytes 2316445 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13809 bytes 2316445 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 166385 bytes 27701013 (26.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 144048 bytes 131215911 (125.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13810 bytes 2316505 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13810 bytes 2316505 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 166588 bytes 27741535 (26.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 144134 bytes 131228047 (125.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13810 bytes 2316505 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13810 bytes 2316505 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 167076 bytes 27800912 (26.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 144837 bytes 132152345 (126.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13810 bytes 2316505 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13810 bytes 2316505 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 167257 bytes 27835702 (26.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 144900 bytes 132160600 (126.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13810 bytes 2316505 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13810 bytes 2316505 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 167435 bytes 27869805 (26.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 144964 bytes 132168829 (126.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13810 bytes 2316505 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13810 bytes 2316505 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 167904 bytes 27926893 (26.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 145659 bytes 133078277 (126.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13810 bytes 2316505 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13810 bytes 2316505 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 168111 bytes 27964673 (26.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 145731 bytes 133087454 (126.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13810 bytes 2316505 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13810 bytes 2316505 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 168581 bytes 28022499 (26.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 146400 bytes 133966014 (127.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13810 bytes 2316505 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13810 bytes 2316505 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 168778 bytes 28059388 (26.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 146467 bytes 133974649 (127.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13810 bytes 2316505 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13810 bytes 2316505 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 169292 bytes 28123543 (26.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 147189 bytes 134892614 (128.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13816 bytes 2316833 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13816 bytes 2316833 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 169507 bytes 28161806 (26.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 147245 bytes 134900305 (128.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13816 bytes 2316833 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13816 bytes 2316833 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 170003 bytes 28221419 (26.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 147937 bytes 135798055 (129.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13821 bytes 2317133 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13821 bytes 2317133 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 170190 bytes 28256205 (26.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 147993 bytes 135805754 (129.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13823 bytes 2317253 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13823 bytes 2317253 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 170403 bytes 28295853 (26.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 148086 bytes 135818360 (129.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13823 bytes 2317253 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13823 bytes 2317253 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 170899 bytes 28355216 (27.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 148774 bytes 136725686 (130.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13823 bytes 2317253 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13823 bytes 2317253 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 171089 bytes 28390090 (27.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 148843 bytes 136734548 (130.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13823 bytes 2317253 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13823 bytes 2317253 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 171586 bytes 28449670 (27.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 149544 bytes 137651752 (131.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13823 bytes 2317253 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13823 bytes 2317253 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 171754 bytes 28482769 (27.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 149611 bytes 137660259 (131.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13823 bytes 2317253 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13823 bytes 2317253 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 171936 bytes 28517062 (27.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 149667 bytes 137667926 (131.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13823 bytes 2317253 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13823 bytes 2317253 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 172464 bytes 28581270 (27.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 150375 bytes 138558810 (132.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13829 bytes 2317581 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13829 bytes 2317581 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 172630 bytes 28613862 (27.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 150432 bytes 138566603 (132.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13829 bytes 2317581 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13829 bytes 2317581 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 173121 bytes 28672433 (27.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 151107 bytes 139449906 (132.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13829 bytes 2317581 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13829 bytes 2317581 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 173307 bytes 28705529 (27.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 151176 bytes 139458692 (132.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13829 bytes 2317581 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13829 bytes 2317581 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 173477 bytes 28741523 (27.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 151232 bytes 139466447 (133.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13833 bytes 2317821 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13833 bytes 2317821 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 173926 bytes 28794620 (27.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 151934 bytes 140373701 (133.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13836 bytes 2318001 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13836 bytes 2318001 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 174054 bytes 28819193 (27.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 152025 bytes 140386215 (133.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13836 bytes 2318001 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13836 bytes 2318001 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 174496 bytes 28862515 (27.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 152728 bytes 141303193 (134.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13836 bytes 2318001 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13836 bytes 2318001 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 174606 bytes 28880536 (27.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 152788 bytes 141311212 (134.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13836 bytes 2318001 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13836 bytes 2318001 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 174703 bytes 28897104 (27.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 152848 bytes 141319185 (134.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13836 bytes 2318001 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13836 bytes 2318001 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 175183 bytes 28945937 (27.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 153572 bytes 142234388 (135.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13842 bytes 2318329 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13842 bytes 2318329 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 175273 bytes 28962089 (27.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 153632 bytes 142242503 (135.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13842 bytes 2318329 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13842 bytes 2318329 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 175668 bytes 29002346 (27.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 154319 bytes 143136853 (136.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13842 bytes 2318329 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13842 bytes 2318329 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 175780 bytes 29020050 (27.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 154379 bytes 143145004 (136.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13842 bytes 2318329 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13842 bytes 2318329 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 175873 bytes 29036050 (27.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 154440 bytes 143153111 (136.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13842 bytes 2318329 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13842 bytes 2318329 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 176280 bytes 29077319 (27.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 155135 bytes 144062360 (137.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13842 bytes 2318329 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13842 bytes 2318329 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 176380 bytes 29094055 (27.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 155203 bytes 144071104 (137.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13844 bytes 2318449 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13844 bytes 2318449 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 176765 bytes 29133408 (27.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 155883 bytes 144969202 (138.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13848 bytes 2318689 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13848 bytes 2318689 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 176856 bytes 29149458 (27.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 155948 bytes 144977620 (138.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13849 bytes 2318749 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13849 bytes 2318749 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 176970 bytes 29170037 (27.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 156037 bytes 144989930 (138.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13849 bytes 2318749 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13849 bytes 2318749 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 177363 bytes 29210056 (27.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 156731 bytes 145900686 (139.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13852 bytes 2318921 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13852 bytes 2318921 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 177479 bytes 29230282 (27.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 156814 bytes 145912462 (139.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13855 bytes 2319077 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13855 bytes 2319077 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 177874 bytes 29270346 (27.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 157489 bytes 146803041 (140.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13855 bytes 2319077 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13855 bytes 2319077 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 177975 bytes 29287449 (27.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 157559 bytes 146811933 (140.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13855 bytes 2319077 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13855 bytes 2319077 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 178065 bytes 29303371 (27.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 157617 bytes 146819771 (140.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13855 bytes 2319077 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13855 bytes 2319077 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 178461 bytes 29343686 (27.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 158306 bytes 147714230 (140.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13855 bytes 2319077 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13855 bytes 2319077 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 178549 bytes 29359534 (27.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 158367 bytes 147722309 (140.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13855 bytes 2319077 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13855 bytes 2319077 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 178944 bytes 29400005 (28.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 159057 bytes 148624124 (141.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13855 bytes 2319077 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13855 bytes 2319077 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 179039 bytes 29416178 (28.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 159120 bytes 148632444 (141.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13855 bytes 2319077 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13855 bytes 2319077 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 179135 bytes 29432498 (28.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 159182 bytes 148640576 (141.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13861 bytes 2319437 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13861 bytes 2319437 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 179574 bytes 29475631 (28.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 159871 bytes 149535135 (142.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13862 bytes 2319497 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13862 bytes 2319497 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 179707 bytes 29500323 (28.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 159980 bytes 149551183 (142.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13868 bytes 2319825 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13868 bytes 2319825 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 180117 bytes 29541435 (28.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 160665 bytes 150438117 (143.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13868 bytes 2319825 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13868 bytes 2319825 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 180216 bytes 29558073 (28.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 160723 bytes 150445912 (143.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13868 bytes 2319825 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13868 bytes 2319825 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 180317 bytes 29574892 (28.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 160790 bytes 150454622 (143.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13868 bytes 2319825 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13868 bytes 2319825 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 180715 bytes 29615071 (28.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 161480 bytes 151360681 (144.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13868 bytes 2319825 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13868 bytes 2319825 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 180818 bytes 29632010 (28.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 161552 bytes 151369718 (144.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13868 bytes 2319825 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13868 bytes 2319825 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 181224 bytes 29672691 (28.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 162248 bytes 152296384 (145.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13868 bytes 2319825 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13868 bytes 2319825 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 181327 bytes 29689406 (28.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 162310 bytes 152304565 (145.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13868 bytes 2319825 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13868 bytes 2319825 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 181427 bytes 29706246 (28.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 162369 bytes 152312406 (145.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13868 bytes 2319825 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13868 bytes 2319825 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 181849 bytes 29748103 (28.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 163074 bytes 153230028 (146.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13868 bytes 2319825 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13868 bytes 2319825 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 181962 bytes 29768300 (28.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 163157 bytes 153241944 (146.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13880 bytes 2320513 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13880 bytes 2320513 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 182389 bytes 29810504 (28.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 163849 bytes 154146769 (147.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13881 bytes 2320573 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13881 bytes 2320573 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 182507 bytes 29831386 (28.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 163936 bytes 154158869 (147.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13881 bytes 2320573 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13881 bytes 2320573 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 182608 bytes 29848132 (28.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 163997 bytes 154167098 (147.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13881 bytes 2320573 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13881 bytes 2320573 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 183005 bytes 29888517 (28.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 164694 bytes 155067890 (147.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13881 bytes 2320573 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13881 bytes 2320573 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 183100 bytes 29904875 (28.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 164756 bytes 155076164 (147.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13881 bytes 2320573 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13881 bytes 2320573 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 183519 bytes 29946552 (28.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 165436 bytes 155958380 (148.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13881 bytes 2320573 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13881 bytes 2320573 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 183607 bytes 29962194 (28.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 165494 bytes 155966291 (148.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13881 bytes 2320573 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13881 bytes 2320573 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 183698 bytes 29977467 (28.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 165555 bytes 155974358 (148.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13881 bytes 2320573 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13881 bytes 2320573 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 183793 bytes 29993843 (28.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 165616 bytes 155982594 (148.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13881 bytes 2320573 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13881 bytes 2320573 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 184210 bytes 30038671 (28.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 166342 bytes 156904321 (149.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13887 bytes 2320901 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13887 bytes 2320901 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 184293 bytes 30054090 (28.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 166402 bytes 156912332 (149.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13887 bytes 2320901 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13887 bytes 2320901 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 184681 bytes 30093906 (28.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 167086 bytes 157816506 (150.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13892 bytes 2321201 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13892 bytes 2321201 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 184782 bytes 30110514 (28.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 167152 bytes 157824967 (150.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13894 bytes 2321321 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13894 bytes 2321321 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 184902 bytes 30131450 (28.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 167241 bytes 157837371 (150.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13894 bytes 2321321 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13894 bytes 2321321 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 185308 bytes 30172205 (28.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 167950 bytes 158767893 (151.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13894 bytes 2321321 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13894 bytes 2321321 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 185394 bytes 30187748 (28.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 168006 bytes 158775516 (151.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13894 bytes 2321321 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13894 bytes 2321321 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 185790 bytes 30227931 (28.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 168696 bytes 159683091 (152.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13894 bytes 2321321 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13894 bytes 2321321 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 185886 bytes 30244310 (28.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 168759 bytes 159691443 (152.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13894 bytes 2321321 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13894 bytes 2321321 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 185980 bytes 30260571 (28.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 168823 bytes 159699796 (152.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13894 bytes 2321321 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13894 bytes 2321321 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 186371 bytes 30300368 (28.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 169493 bytes 160579982 (153.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13897 bytes 2321493 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13897 bytes 2321493 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 186486 bytes 30320844 (28.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 169577 bytes 160592112 (153.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13900 bytes 2321649 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13900 bytes 2321649 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 186885 bytes 30361345 (28.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 170255 bytes 161478556 (153.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13900 bytes 2321649 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13900 bytes 2321649 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 186978 bytes 30377819 (28.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 170311 bytes 161486307 (154.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13900 bytes 2321649 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13900 bytes 2321649 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 187079 bytes 30394706 (28.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 170383 bytes 161495330 (154.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13904 bytes 2321889 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13904 bytes 2321889 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 187511 bytes 30437266 (29.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 171065 bytes 162382155 (154.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13907 bytes 2322069 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13907 bytes 2322069 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 187600 bytes 30453197 (29.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 171127 bytes 162390316 (154.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13907 bytes 2322069 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13907 bytes 2322069 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 188030 bytes 30498539 (29.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 171836 bytes 163291375 (155.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13907 bytes 2322069 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13907 bytes 2322069 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 188120 bytes 30514299 (29.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 171899 bytes 163299589 (155.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13907 bytes 2322069 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13907 bytes 2322069 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 188212 bytes 30530213 (29.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 171956 bytes 163307394 (155.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13907 bytes 2322069 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13907 bytes 2322069 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 188623 bytes 30571504 (29.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 172665 bytes 164236630 (156.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13907 bytes 2322069 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13907 bytes 2322069 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 188740 bytes 30592059 (29.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 172752 bytes 164248758 (156.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13914 bytes 2322449 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13914 bytes 2322449 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 189214 bytes 30637803 (29.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 173455 bytes 165187662 (157.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13914 bytes 2322449 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13914 bytes 2322449 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 189314 bytes 30654394 (29.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 173522 bytes 165196221 (157.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13914 bytes 2322449 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13914 bytes 2322449 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 189413 bytes 30671016 (29.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 173585 bytes 165204396 (157.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13914 bytes 2322449 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13914 bytes 2322449 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 189819 bytes 30712009 (29.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 174294 bytes 166133490 (158.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13914 bytes 2322449 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13914 bytes 2322449 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 189915 bytes 30728388 (29.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 174351 bytes 166141350 (158.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13914 bytes 2322449 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13914 bytes 2322449 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 190297 bytes 30767653 (29.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 175037 bytes 167035734 (159.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13920 bytes 2322809 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13920 bytes 2322809 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 190386 bytes 30783455 (29.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 175095 bytes 167043593 (159.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13921 bytes 2322869 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13921 bytes 2322869 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 190511 bytes 30804736 (29.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 175190 bytes 167056433 (159.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13921 bytes 2322869 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13921 bytes 2322869 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 190923 bytes 30845826 (29.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 175890 bytes 167970766 (160.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13921 bytes 2322869 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13921 bytes 2322869 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 191040 bytes 30866353 (29.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 175970 bytes 167982470 (160.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13928 bytes 2323249 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13928 bytes 2323249 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 191343 bytes 30900483 (29.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 176659 bytes 168896234 (161.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13928 bytes 2323249 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13928 bytes 2323249 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 191434 bytes 30916554 (29.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 176724 bytes 168904754 (161.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13928 bytes 2323249 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13928 bytes 2323249 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 191537 bytes 30933514 (29.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 176797 bytes 168913690 (161.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13928 bytes 2323249 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13928 bytes 2323249 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 191977 bytes 30976695 (29.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 177487 bytes 169818406 (161.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13928 bytes 2323249 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13928 bytes 2323249 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 192059 bytes 30992146 (29.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 177552 bytes 169826752 (161.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13928 bytes 2323249 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13928 bytes 2323249 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 192419 bytes 31030398 (29.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 178233 bytes 170715003 (162.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13928 bytes 2323249 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13928 bytes 2323249 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 192510 bytes 31046194 (29.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 178297 bytes 170723263 (162.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13928 bytes 2323249 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13928 bytes 2323249 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 192602 bytes 31062323 (29.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 178359 bytes 170731521 (162.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13934 bytes 2323609 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13934 bytes 2323609 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 192992 bytes 31101976 (29.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 179028 bytes 171602863 (163.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13935 bytes 2323669 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13935 bytes 2323669 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 193128 bytes 31126689 (29.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 179135 bytes 171618657 (163.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13941 bytes 2323997 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13941 bytes 2323997 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 193523 bytes 31166938 (29.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 179807 bytes 172504599 (164.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13941 bytes 2323997 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13941 bytes 2323997 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 193619 bytes 31183343 (29.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 179875 bytes 172513249 (164.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13941 bytes 2323997 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13941 bytes 2323997 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 193717 bytes 31199940 (29.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 179938 bytes 172521609 (164.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13941 bytes 2323997 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13941 bytes 2323997 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 194098 bytes 31239127 (29.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 180622 bytes 173404290 (165.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13941 bytes 2323997 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13941 bytes 2323997 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 194189 bytes 31254947 (29.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 180677 bytes 173411936 (165.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13941 bytes 2323997 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13941 bytes 2323997 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 194571 bytes 31294186 (29.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 181332 bytes 174265095 (166.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13941 bytes 2323997 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13941 bytes 2323997 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 194659 bytes 31309900 (29.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 181392 bytes 174273043 (166.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13941 bytes 2323997 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13941 bytes 2323997 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 194759 bytes 31326989 (29.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 181459 bytes 174281727 (166.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13941 bytes 2323997 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13941 bytes 2323997 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 195156 bytes 31367151 (29.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 182149 bytes 175188520 (167.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13941 bytes 2323997 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13941 bytes 2323997 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 195256 bytes 31383950 (29.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 182216 bytes 175197260 (167.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13950 bytes 2324529 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13950 bytes 2324529 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 195722 bytes 31431605 (29.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 182933 bytes 176114994 (167.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13955 bytes 2324797 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13955 bytes 2324797 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 195841 bytes 31452398 (29.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 183017 bytes 176127051 (167.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13955 bytes 2324797 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13955 bytes 2324797 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 195937 bytes 31468745 (30.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 183086 bytes 176135729 (167.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13955 bytes 2324797 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13955 bytes 2324797 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 196336 bytes 31509073 (30.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 183768 bytes 177031558 (168.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13955 bytes 2324797 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13955 bytes 2324797 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 196431 bytes 31525364 (30.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 183833 bytes 177039902 (168.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13955 bytes 2324797 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13955 bytes 2324797 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 196811 bytes 31564621 (30.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 184489 bytes 177893131 (169.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13955 bytes 2324797 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13955 bytes 2324797 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 196902 bytes 31580613 (30.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 184554 bytes 177901479 (169.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13955 bytes 2324797 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13955 bytes 2324797 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 197286 bytes 31619880 (30.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 185209 bytes 178760336 (170.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13955 bytes 2324797 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13955 bytes 2324797 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 197386 bytes 31636361 (30.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 185277 bytes 178769049 (170.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13955 bytes 2324797 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13955 bytes 2324797 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 197819 bytes 31679274 (30.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 185954 bytes 179656845 (171.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13955 bytes 2324797 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13955 bytes 2324797 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 197932 bytes 31699817 (30.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 186036 bytes 179668604 (171.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13962 bytes 2325177 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13962 bytes 2325177 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 198026 bytes 31715972 (30.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 186099 bytes 179676820 (171.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13967 bytes 2325477 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13967 bytes 2325477 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 198417 bytes 31756033 (30.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 186755 bytes 180524809 (172.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13969 bytes 2325597 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13969 bytes 2325597 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 198539 bytes 31777012 (30.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 186845 bytes 180537127 (172.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13969 bytes 2325597 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13969 bytes 2325597 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 198931 bytes 31816844 (30.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 187500 bytes 181384452 (172.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13969 bytes 2325597 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13969 bytes 2325597 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 199028 bytes 31833161 (30.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 187566 bytes 181392913 (172.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13969 bytes 2325597 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13969 bytes 2325597 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 199121 bytes 31849126 (30.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 187622 bytes 181400553 (172.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13969 bytes 2325597 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13969 bytes 2325597 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 199506 bytes 31888692 (30.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 188282 bytes 182255634 (173.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13969 bytes 2325597 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13969 bytes 2325597 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 199598 bytes 31904698 (30.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 188340 bytes 182263442 (173.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13969 bytes 2325597 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13969 bytes 2325597 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 199979 bytes 31944047 (30.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 188996 bytes 183118239 (174.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13969 bytes 2325597 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13969 bytes 2325597 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 200093 bytes 31964678 (30.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 189081 bytes 183130244 (174.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13975 bytes 2325925 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13975 bytes 2325925 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 200183 bytes 31980219 (30.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 189135 bytes 183137847 (174.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13975 bytes 2325925 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13975 bytes 2325925 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 200612 bytes 32023229 (30.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 189843 bytes 184034162 (175.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13975 bytes 2325925 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13975 bytes 2325925 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 200697 bytes 32038963 (30.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 189905 bytes 184042478 (175.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13979 bytes 2326165 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13979 bytes 2326165 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 201011 bytes 32073690 (30.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 190564 bytes 184900181 (176.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13982 bytes 2326345 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13982 bytes 2326345 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 201114 bytes 32090581 (30.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 190628 bytes 184908661 (176.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13982 bytes 2326345 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13982 bytes 2326345 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 201228 bytes 32110882 (30.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 190714 bytes 184920636 (176.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13982 bytes 2326345 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13982 bytes 2326345 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 201621 bytes 32150732 (30.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 191394 bytes 185815839 (177.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13982 bytes 2326345 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13982 bytes 2326345 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 201715 bytes 32166917 (30.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 191459 bytes 185824359 (177.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13982 bytes 2326345 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13982 bytes 2326345 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 202093 bytes 32205693 (30.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 192123 bytes 186685161 (178.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13982 bytes 2326345 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13982 bytes 2326345 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 202217 bytes 32227121 (30.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 192210 bytes 186697434 (178.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13988 bytes 2326673 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13988 bytes 2326673 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 202303 bytes 32242828 (30.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 192274 bytes 186705740 (178.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13988 bytes 2326673 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13988 bytes 2326673 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 202708 bytes 32283592 (30.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 192940 bytes 187569573 (178.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13988 bytes 2326673 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13988 bytes 2326673 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 202798 bytes 32299969 (30.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 193006 bytes 187578034 (178.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13988 bytes 2326673 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13988 bytes 2326673 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 203181 bytes 32339411 (30.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 193670 bytes 188446723 (179.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13988 bytes 2326673 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13988 bytes 2326673 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 203270 bytes 32355162 (30.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 193735 bytes 188455103 (179.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13988 bytes 2326673 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13988 bytes 2326673 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 203368 bytes 32371571 (30.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 193797 bytes 188463343 (179.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13994 bytes 2327033 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13994 bytes 2327033 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 203760 bytes 32411510 (30.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 194464 bytes 189331730 (180.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13995 bytes 2327093 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13995 bytes 2327093 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 203872 bytes 32431714 (30.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 194548 bytes 189343551 (180.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13995 bytes 2327093 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13995 bytes 2327093 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 204264 bytes 32471771 (30.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 195212 bytes 190204695 (181.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13995 bytes 2327093 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13995 bytes 2327093 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 204362 bytes 32488423 (30.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 195275 bytes 190212916 (181.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 13998 bytes 2327265 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13998 bytes 2327265 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 204473 bytes 32508562 (31.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 195351 bytes 190224265 (181.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14001 bytes 2327421 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14001 bytes 2327421 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 204869 bytes 32548850 (31.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 196029 bytes 191099403 (182.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14001 bytes 2327421 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14001 bytes 2327421 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 204962 bytes 32564819 (31.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 196087 bytes 191107286 (182.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14001 bytes 2327421 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14001 bytes 2327421 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 205329 bytes 32602500 (31.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 196756 bytes 191975748 (183.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14001 bytes 2327421 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14001 bytes 2327421 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 205430 bytes 32619636 (31.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 196819 bytes 191984128 (183.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14001 bytes 2327421 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14001 bytes 2327421 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 205527 bytes 32636125 (31.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 196883 bytes 191992561 (183.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14001 bytes 2327421 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14001 bytes 2327421 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 205934 bytes 32677046 (31.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 197565 bytes 192882131 (183.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14001 bytes 2327421 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14001 bytes 2327421 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 206024 bytes 32692857 (31.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 197627 bytes 192890284 (183.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14007 bytes 2327781 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14007 bytes 2327781 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 206399 bytes 32731694 (31.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 198302 bytes 193769432 (184.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14008 bytes 2327841 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14008 bytes 2327841 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 206516 bytes 32752561 (31.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 198388 bytes 193781569 (184.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14008 bytes 2327841 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14008 bytes 2327841 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 206633 bytes 32773198 (31.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 198476 bytes 193793910 (184.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14014 bytes 2328169 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14014 bytes 2328169 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 207014 bytes 32812382 (31.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 199128 bytes 194645335 (185.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14014 bytes 2328169 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14014 bytes 2328169 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 207114 bytes 32828956 (31.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 199195 bytes 194653843 (185.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14014 bytes 2328169 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14014 bytes 2328169 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 207518 bytes 32869686 (31.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 199853 bytes 195510058 (186.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14014 bytes 2328169 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14014 bytes 2328169 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 207613 bytes 32885827 (31.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 199921 bytes 195518684 (186.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14014 bytes 2328169 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14014 bytes 2328169 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 207706 bytes 32902057 (31.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 199982 bytes 195526894 (186.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14014 bytes 2328169 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14014 bytes 2328169 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 208082 bytes 32941150 (31.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 200677 bytes 196433264 (187.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14014 bytes 2328169 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14014 bytes 2328169 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 208179 bytes 32957594 (31.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 200740 bytes 196441610 (187.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14014 bytes 2328169 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14014 bytes 2328169 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 208572 bytes 32997543 (31.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 201424 bytes 197340035 (188.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14014 bytes 2328169 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14014 bytes 2328169 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 208667 bytes 33013985 (31.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 201483 bytes 197348001 (188.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14020 bytes 2328529 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14020 bytes 2328529 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 208789 bytes 33035118 (31.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 201569 bytes 197360260 (188.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14027 bytes 2328917 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14027 bytes 2328917 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 209205 bytes 33079821 (31.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 202269 bytes 198235470 (189.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14027 bytes 2328917 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14027 bytes 2328917 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 209300 bytes 33096099 (31.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 202331 bytes 198243794 (189.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14027 bytes 2328917 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14027 bytes 2328917 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 209714 bytes 33137312 (31.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 202981 bytes 199083499 (189.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14027 bytes 2328917 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14027 bytes 2328917 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 209807 bytes 33153339 (31.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 203039 bytes 199091327 (189.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14027 bytes 2328917 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14027 bytes 2328917 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 209903 bytes 33169631 (31.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 203100 bytes 199099415 (189.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14027 bytes 2328917 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14027 bytes 2328917 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 210287 bytes 33209079 (31.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 203772 bytes 199975973 (190.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14027 bytes 2328917 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14027 bytes 2328917 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 210378 bytes 33225075 (31.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 203835 bytes 199984181 (190.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14027 bytes 2328917 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14027 bytes 2328917 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 210767 bytes 33265259 (31.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 204499 bytes 200846684 (191.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14027 bytes 2328917 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14027 bytes 2328917 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 210858 bytes 33281525 (31.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 204563 bytes 200855102 (191.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14027 bytes 2328917 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14027 bytes 2328917 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 210979 bytes 33302275 (31.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 204649 bytes 200867209 (191.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14033 bytes 2329245 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14033 bytes 2329245 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 211378 bytes 33342708 (31.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 205326 bytes 201755056 (192.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14038 bytes 2329545 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14038 bytes 2329545 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 211468 bytes 33358754 (31.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 205392 bytes 201763518 (192.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14040 bytes 2329665 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14040 bytes 2329665 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 211911 bytes 33404853 (31.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 206069 bytes 202623140 (193.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14040 bytes 2329665 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14040 bytes 2329665 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 212010 bytes 33421528 (31.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 206137 bytes 202631914 (193.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14040 bytes 2329665 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14040 bytes 2329665 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 212104 bytes 33437426 (31.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 206191 bytes 202639466 (193.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14040 bytes 2329665 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14040 bytes 2329665 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 212482 bytes 33476359 (31.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 206856 bytes 203500477 (194.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14040 bytes 2329665 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14040 bytes 2329665 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 212582 bytes 33492988 (31.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 206921 bytes 203508911 (194.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14040 bytes 2329665 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14040 bytes 2329665 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 212903 bytes 33528168 (31.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 207449 bytes 204174132 (194.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14040 bytes 2329665 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14040 bytes 2329665 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 213006 bytes 33545066 (31.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 207510 bytes 204182166 (194.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14040 bytes 2329665 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14040 bytes 2329665 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 213101 bytes 33561719 (32.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 207566 bytes 204190007 (194.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14043 bytes 2329837 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14043 bytes 2329837 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 213477 bytes 33603655 (32.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 208167 bytes 204911664 (195.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14047 bytes 2330045 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14047 bytes 2330045 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 213567 bytes 33619448 (32.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 208225 bytes 204919509 (195.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14047 bytes 2330045 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14047 bytes 2330045 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 213903 bytes 33655633 (32.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 208772 bytes 205609297 (196.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14051 bytes 2330285 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14051 bytes 2330285 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 213998 bytes 33671851 (32.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 208830 bytes 205617202 (196.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14054 bytes 2330465 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14054 bytes 2330465 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 214093 bytes 33688057 (32.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 208891 bytes 205625251 (196.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14054 bytes 2330465 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14054 bytes 2330465 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 214470 bytes 33729814 (32.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 209481 bytes 206340138 (196.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14054 bytes 2330465 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14054 bytes 2330465 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 214560 bytes 33745103 (32.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 209542 bytes 206348194 (196.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14054 bytes 2330465 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14054 bytes 2330465 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 214892 bytes 33781144 (32.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 210089 bytes 207040847 (197.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14054 bytes 2330465 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14054 bytes 2330465 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 214987 bytes 33797507 (32.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 210149 bytes 207048862 (197.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14054 bytes 2330465 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14054 bytes 2330465 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 215079 bytes 33813516 (32.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 210207 bytes 207056775 (197.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14054 bytes 2330465 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14054 bytes 2330465 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 215444 bytes 33854799 (32.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 210798 bytes 207776542 (198.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14061 bytes 2330845 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14061 bytes 2330845 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 215537 bytes 33871343 (32.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 210862 bytes 207784857 (198.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14061 bytes 2330845 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14061 bytes 2330845 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 215869 bytes 33907198 (32.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 211399 bytes 208473787 (198.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14061 bytes 2330845 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14061 bytes 2330845 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 215969 bytes 33923785 (32.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 211464 bytes 208482240 (198.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14061 bytes 2330845 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14061 bytes 2330845 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 216070 bytes 33940473 (32.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 211526 bytes 208490493 (198.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14061 bytes 2330845 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14061 bytes 2330845 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 216410 bytes 33976829 (32.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 212086 bytes 209202231 (199.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14067 bytes 2331205 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14067 bytes 2331205 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 216505 bytes 33993054 (32.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 212147 bytes 209210430 (199.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14068 bytes 2331265 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14068 bytes 2331265 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 216868 bytes 34033894 (32.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 212737 bytes 209937028 (200.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14068 bytes 2331265 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14068 bytes 2331265 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 216963 bytes 34050401 (32.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 212797 bytes 209945004 (200.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14068 bytes 2331265 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14068 bytes 2331265 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 217057 bytes 34066720 (32.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 212856 bytes 209953097 (200.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14068 bytes 2331265 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14068 bytes 2331265 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 217416 bytes 34107464 (32.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 213436 bytes 210651715 (200.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14075 bytes 2331645 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14075 bytes 2331645 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 217504 bytes 34123290 (32.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 213495 bytes 210659629 (200.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14075 bytes 2331645 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14075 bytes 2331645 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 217829 bytes 34158779 (32.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 214042 bytes 211345080 (201.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14075 bytes 2331645 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14075 bytes 2331645 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 217902 bytes 34173886 (32.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 214099 bytes 211352873 (201.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14075 bytes 2331645 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14075 bytes 2331645 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 217993 bytes 34189889 (32.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 214160 bytes 211360921 (201.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14075 bytes 2331645 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14075 bytes 2331645 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 218325 bytes 34226014 (32.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 214720 bytes 212070348 (202.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14075 bytes 2331645 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14075 bytes 2331645 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 218419 bytes 34241591 (32.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 214782 bytes 212078490 (202.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14075 bytes 2331645 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14075 bytes 2331645 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 218734 bytes 34276361 (32.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 215338 bytes 212794766 (202.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14081 bytes 2332005 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14081 bytes 2332005 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 218838 bytes 34293435 (32.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 215405 bytes 212803395 (202.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14082 bytes 2332065 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14082 bytes 2332065 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 218947 bytes 34313473 (32.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 215490 bytes 212815379 (202.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14082 bytes 2332065 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14082 bytes 2332065 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 219306 bytes 34354045 (32.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 216064 bytes 213519284 (203.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14088 bytes 2332393 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14088 bytes 2332393 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 219405 bytes 34370150 (32.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 216133 bytes 213528093 (203.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14088 bytes 2332393 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14088 bytes 2332393 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 219729 bytes 34405408 (32.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 216667 bytes 214212384 (204.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14088 bytes 2332393 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14088 bytes 2332393 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 219818 bytes 34421319 (32.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 216734 bytes 214220921 (204.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14088 bytes 2332393 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14088 bytes 2332393 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 219911 bytes 34437362 (32.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 216790 bytes 214228558 (204.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14088 bytes 2332393 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14088 bytes 2332393 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 220175 bytes 34469233 (32.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 217340 bytes 214914614 (204.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14088 bytes 2332393 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14088 bytes 2332393 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 220270 bytes 34485560 (32.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 217402 bytes 214922854 (204.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14088 bytes 2332393 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14088 bytes 2332393 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 220595 bytes 34520988 (32.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 217956 bytes 215626024 (205.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14088 bytes 2332393 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14088 bytes 2332393 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 220693 bytes 34537562 (32.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 218013 bytes 215633763 (205.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14088 bytes 2332393 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14088 bytes 2332393 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 220775 bytes 34552449 (32.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 218070 bytes 215641552 (205.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14094 bytes 2332753 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14094 bytes 2332753 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 221117 bytes 34589108 (32.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 218638 bytes 216357248 (206.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14098 bytes 2332985 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14098 bytes 2332985 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 221250 bytes 34613044 (33.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 218744 bytes 216372873 (206.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14101 bytes 2333141 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14101 bytes 2333141 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 221584 bytes 34649137 (33.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 219300 bytes 217070511 (207.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14101 bytes 2333141 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14101 bytes 2333141 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 221682 bytes 34665107 (33.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 219363 bytes 217078858 (207.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14101 bytes 2333141 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14101 bytes 2333141 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 221774 bytes 34681022 (33.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 219425 bytes 217087001 (207.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14101 bytes 2333141 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14101 bytes 2333141 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 222114 bytes 34717554 (33.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 219987 bytes 217802364 (207.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14101 bytes 2333141 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14101 bytes 2333141 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 222212 bytes 34733420 (33.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 220052 bytes 217810705 (207.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14101 bytes 2333141 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14101 bytes 2333141 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 222527 bytes 34768599 (33.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 220583 bytes 218489119 (208.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14101 bytes 2333141 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14101 bytes 2333141 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 222626 bytes 34784952 (33.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 220649 bytes 218497706 (208.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14101 bytes 2333141 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14101 bytes 2333141 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 222713 bytes 34800484 (33.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 220710 bytes 218505739 (208.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14101 bytes 2333141 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14101 bytes 2333141 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 223082 bytes 34839060 (33.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 221276 bytes 219217407 (209.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14101 bytes 2333141 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14101 bytes 2333141 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 223197 bytes 34859520 (33.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 221365 bytes 219229823 (209.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14112 bytes 2333769 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14112 bytes 2333769 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 223516 bytes 34894664 (33.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 221919 bytes 219935890 (209.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14114 bytes 2333889 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14114 bytes 2333889 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 223628 bytes 34914639 (33.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 222010 bytes 219948323 (209.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14114 bytes 2333889 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14114 bytes 2333889 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 223726 bytes 34930329 (33.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 222063 bytes 219955766 (209.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14114 bytes 2333889 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14114 bytes 2333889 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 224065 bytes 34966321 (33.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 222621 bytes 220653536 (210.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14114 bytes 2333889 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14114 bytes 2333889 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 224155 bytes 34982006 (33.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 222680 bytes 220661379 (210.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14114 bytes 2333889 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14114 bytes 2333889 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 224498 bytes 35018530 (33.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 223240 bytes 221373589 (211.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14114 bytes 2333889 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14114 bytes 2333889 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 224599 bytes 35034988 (33.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 223304 bytes 221381998 (211.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14114 bytes 2333889 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14114 bytes 2333889 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 224687 bytes 35051239 (33.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 223364 bytes 221390029 (211.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14114 bytes 2333889 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14114 bytes 2333889 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 225026 bytes 35087025 (33.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 223923 bytes 222097773 (211.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14114 bytes 2333889 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14114 bytes 2333889 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 225143 bytes 35107063 (33.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 224004 bytes 222109575 (211.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14120 bytes 2334217 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14120 bytes 2334217 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 225464 bytes 35141779 (33.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 224570 bytes 222826681 (212.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14120 bytes 2334217 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14120 bytes 2334217 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 225550 bytes 35157205 (33.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 224627 bytes 222834468 (212.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14124 bytes 2334457 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14124 bytes 2334457 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 225648 bytes 35173763 (33.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 224694 bytes 222843129 (212.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14127 bytes 2334637 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14127 bytes 2334637 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 225991 bytes 35210279 (33.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 225252 bytes 223560981 (213.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14127 bytes 2334637 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14127 bytes 2334637 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 226112 bytes 35231325 (33.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 225346 bytes 223573713 (213.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14127 bytes 2334637 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14127 bytes 2334637 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 226437 bytes 35266164 (33.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 225879 bytes 224253695 (213.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14127 bytes 2334637 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14127 bytes 2334637 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 226539 bytes 35283322 (33.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 225946 bytes 224262376 (213.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14127 bytes 2334637 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14127 bytes 2334637 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 226637 bytes 35299150 (33.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 226004 bytes 224270236 (213.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14127 bytes 2334637 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14127 bytes 2334637 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 226974 bytes 35334692 (33.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 226543 bytes 224949072 (214.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14127 bytes 2334637 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14127 bytes 2334637 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 227105 bytes 35356116 (33.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 226634 bytes 224961568 (214.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14133 bytes 2334965 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14133 bytes 2334965 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 227443 bytes 35392446 (33.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 227172 bytes 225637986 (215.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14133 bytes 2334965 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14133 bytes 2334965 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 227542 bytes 35408327 (33.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 227235 bytes 225646243 (215.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14133 bytes 2334965 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14133 bytes 2334965 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 227629 bytes 35423984 (33.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 227291 bytes 225653884 (215.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14133 bytes 2334965 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14133 bytes 2334965 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 227973 bytes 35460797 (33.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 227856 bytes 226368056 (215.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14133 bytes 2334965 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14133 bytes 2334965 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 228062 bytes 35476523 (33.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 227914 bytes 226375853 (215.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14139 bytes 2335325 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14139 bytes 2335325 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 228383 bytes 35510968 (33.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 228455 bytes 227059276 (216.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14140 bytes 2335385 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14140 bytes 2335385 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 228494 bytes 35531466 (33.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 228544 bytes 227071595 (216.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14140 bytes 2335385 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14140 bytes 2335385 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 228594 bytes 35547461 (33.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 228605 bytes 227079687 (216.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14140 bytes 2335385 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14140 bytes 2335385 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 228917 bytes 35582121 (33.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 229144 bytes 227768728 (217.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14140 bytes 2335385 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14140 bytes 2335385 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 229017 bytes 35598993 (33.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 229211 bytes 227777492 (217.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14143 bytes 2335557 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14143 bytes 2335557 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 229395 bytes 35640281 (33.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 229790 bytes 228484502 (217.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14146 bytes 2335713 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14146 bytes 2335713 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 229485 bytes 35655946 (34.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 229852 bytes 228492794 (217.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14146 bytes 2335713 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14146 bytes 2335713 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 229572 bytes 35671727 (34.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 229917 bytes 228501110 (217.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14146 bytes 2335713 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14146 bytes 2335713 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 229899 bytes 35706655 (34.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 230453 bytes 229185589 (218.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14146 bytes 2335713 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14146 bytes 2335713 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 229992 bytes 35722074 (34.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 230516 bytes 229193784 (218.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14146 bytes 2335713 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14146 bytes 2335713 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 230325 bytes 35757632 (34.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 231069 bytes 229896973 (219.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14146 bytes 2335713 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14146 bytes 2335713 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 230428 bytes 35774602 (34.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 231132 bytes 229905170 (219.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14152 bytes 2336073 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14152 bytes 2336073 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 230514 bytes 35790302 (34.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 231190 bytes 229913051 (219.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14153 bytes 2336133 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14153 bytes 2336133 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 230866 bytes 35829818 (34.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 231763 bytes 230614370 (219.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14153 bytes 2336133 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14153 bytes 2336133 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 230967 bytes 35846641 (34.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 231833 bytes 230623158 (219.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14153 bytes 2336133 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14153 bytes 2336133 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 231350 bytes 35888279 (34.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 232421 bytes 231345449 (220.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14159 bytes 2336461 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14159 bytes 2336461 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 231441 bytes 35903687 (34.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 232487 bytes 231353864 (220.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14159 bytes 2336461 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14159 bytes 2336461 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 231531 bytes 35918925 (34.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 232543 bytes 231361513 (220.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14159 bytes 2336461 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14159 bytes 2336461 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 231865 bytes 35954918 (34.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 233094 bytes 232054487 (221.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14159 bytes 2336461 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14159 bytes 2336461 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 231951 bytes 35969967 (34.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 233152 bytes 232062276 (221.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14159 bytes 2336461 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14159 bytes 2336461 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 232211 bytes 36001195 (34.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 233629 bytes 232638828 (221.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14159 bytes 2336461 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14159 bytes 2336461 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 232312 bytes 36017999 (34.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 233690 bytes 232646831 (221.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14159 bytes 2336461 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14159 bytes 2336461 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 232404 bytes 36033534 (34.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 233754 bytes 232655261 (221.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14159 bytes 2336461 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14159 bytes 2336461 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 232704 bytes 36067286 (34.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 234245 bytes 233264363 (222.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14165 bytes 2336821 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14165 bytes 2336821 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 232806 bytes 36083543 (34.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 234306 bytes 233272452 (222.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14166 bytes 2336881 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14166 bytes 2336881 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 233145 bytes 36125144 (34.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 234831 bytes 233866820 (223.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14172 bytes 2337209 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14172 bytes 2337209 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 233234 bytes 36140955 (34.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 234889 bytes 233874693 (223.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14172 bytes 2337209 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14172 bytes 2337209 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 233328 bytes 36156970 (34.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 234951 bytes 233882855 (223.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14172 bytes 2337209 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14172 bytes 2337209 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 233424 bytes 36173464 (34.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 235011 bytes 233891064 (223.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14172 bytes 2337209 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14172 bytes 2337209 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 233727 bytes 36207307 (34.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 235478 bytes 234460436 (223.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14172 bytes 2337209 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14172 bytes 2337209 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 233819 bytes 36223155 (34.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 235537 bytes 234468343 (223.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14172 bytes 2337209 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14172 bytes 2337209 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 234132 bytes 36257420 (34.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 236021 bytes 235071221 (224.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14172 bytes 2337209 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14172 bytes 2337209 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 234229 bytes 36273320 (34.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 236086 bytes 235079728 (224.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14172 bytes 2337209 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14172 bytes 2337209 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 234317 bytes 36288435 (34.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 236140 bytes 235087189 (224.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14172 bytes 2337209 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14172 bytes 2337209 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 234637 bytes 36322987 (34.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 236647 bytes 235707629 (224.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14172 bytes 2337209 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14172 bytes 2337209 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 234752 bytes 36343341 (34.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 236729 bytes 235719381 (224.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14183 bytes 2337837 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14183 bytes 2337837 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 235059 bytes 36377707 (34.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 237211 bytes 236307979 (225.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14185 bytes 2337957 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14185 bytes 2337957 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 235181 bytes 36398795 (34.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 237300 bytes 236320327 (225.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14185 bytes 2337957 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14185 bytes 2337957 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 235272 bytes 36414752 (34.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 237362 bytes 236328465 (225.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14185 bytes 2337957 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14185 bytes 2337957 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 235574 bytes 36448035 (34.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 237853 bytes 236941823 (225.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14185 bytes 2337957 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14185 bytes 2337957 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 235677 bytes 36464211 (34.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 237916 bytes 236950084 (225.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14185 bytes 2337957 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14185 bytes 2337957 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 235979 bytes 36498284 (34.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 238397 bytes 237551444 (226.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14185 bytes 2337957 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14185 bytes 2337957 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 236081 bytes 36515325 (34.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 238460 bytes 237559705 (226.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14185 bytes 2337957 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14185 bytes 2337957 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 236163 bytes 36529936 (34.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 238516 bytes 237567374 (226.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14185 bytes 2337957 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14185 bytes 2337957 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 236446 bytes 36562908 (34.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 238982 bytes 238136000 (227.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14185 bytes 2337957 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14185 bytes 2337957 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 236537 bytes 36578388 (34.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 239047 bytes 238144484 (227.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14188 bytes 2338129 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14188 bytes 2338129 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 236875 bytes 36617523 (34.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 239557 bytes 238757227 (227.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14191 bytes 2338285 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14191 bytes 2338285 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 236975 bytes 36634176 (34.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 239624 bytes 238765884 (227.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14195 bytes 2338525 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14195 bytes 2338525 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 237067 bytes 36650061 (34.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 239682 bytes 238773769 (227.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14198 bytes 2338705 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14198 bytes 2338705 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 237371 bytes 36684094 (34.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 240170 bytes 239376939 (228.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14198 bytes 2338705 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14198 bytes 2338705 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 237481 bytes 36703580 (35.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 240253 bytes 239388739 (228.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14198 bytes 2338705 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14198 bytes 2338705 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 237789 bytes 36737796 (35.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 240749 bytes 240002765 (228.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14198 bytes 2338705 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14198 bytes 2338705 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 237883 bytes 36753501 (35.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 240813 bytes 240011206 (228.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14198 bytes 2338705 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14198 bytes 2338705 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 237984 bytes 36769524 (35.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 240872 bytes 240019107 (228.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14198 bytes 2338705 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14198 bytes 2338705 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 238287 bytes 36803991 (35.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 241364 bytes 240624614 (229.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14198 bytes 2338705 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14198 bytes 2338705 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 238376 bytes 36819220 (35.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 241422 bytes 240632415 (229.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14198 bytes 2338705 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14198 bytes 2338705 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 238693 bytes 36857060 (35.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 241916 bytes 241213908 (230.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14204 bytes 2339033 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14204 bytes 2339033 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 238791 bytes 36872871 (35.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 241980 bytes 241222269 (230.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14204 bytes 2339033 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14204 bytes 2339033 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 238886 bytes 36889140 (35.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 242044 bytes 241230583 (230.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14204 bytes 2339033 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14204 bytes 2339033 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 239185 bytes 36922983 (35.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 242524 bytes 241822721 (230.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14204 bytes 2339033 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14204 bytes 2339033 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 239276 bytes 36938464 (35.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 242588 bytes 241831027 (230.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14210 bytes 2339393 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14210 bytes 2339393 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 239566 bytes 36971906 (35.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 243055 bytes 242406876 (231.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14211 bytes 2339453 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14211 bytes 2339453 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 239683 bytes 36992498 (35.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 243142 bytes 242419033 (231.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14211 bytes 2339453 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14211 bytes 2339453 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 239773 bytes 37007708 (35.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 243196 bytes 242426581 (231.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14211 bytes 2339453 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14211 bytes 2339453 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 240080 bytes 37041612 (35.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 243688 bytes 243029216 (231.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14211 bytes 2339453 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14211 bytes 2339453 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 240170 bytes 37056974 (35.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 243751 bytes 243037443 (231.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14211 bytes 2339453 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14211 bytes 2339453 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 240484 bytes 37094439 (35.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 244241 bytes 243619993 (232.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14217 bytes 2339781 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14217 bytes 2339781 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 240586 bytes 37110666 (35.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 244309 bytes 243628715 (232.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14217 bytes 2339781 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14217 bytes 2339781 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 240685 bytes 37126745 (35.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 244371 bytes 243636999 (232.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14217 bytes 2339781 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14217 bytes 2339781 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 240982 bytes 37160271 (35.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 244858 bytes 244258453 (232.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14217 bytes 2339781 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14217 bytes 2339781 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 241065 bytes 37175596 (35.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 244915 bytes 244266228 (232.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14217 bytes 2339781 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14217 bytes 2339781 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 241361 bytes 37208849 (35.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 245389 bytes 244851154 (233.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14217 bytes 2339781 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14217 bytes 2339781 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 241452 bytes 37224819 (35.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 245449 bytes 244859155 (233.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14223 bytes 2340141 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14223 bytes 2340141 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 241555 bytes 37241074 (35.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 245511 bytes 244867442 (233.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14224 bytes 2340201 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14224 bytes 2340201 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 241863 bytes 37278465 (35.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 246012 bytes 245451129 (234.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14224 bytes 2340201 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14224 bytes 2340201 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 241954 bytes 37293803 (35.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 246072 bytes 245459230 (234.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14224 bytes 2340201 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14224 bytes 2340201 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 242269 bytes 37331026 (35.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 246576 bytes 246050026 (234.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14230 bytes 2340529 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14230 bytes 2340529 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 242360 bytes 37346827 (35.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 246633 bytes 246057769 (234.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14230 bytes 2340529 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14230 bytes 2340529 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 242455 bytes 37362876 (35.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 246699 bytes 246066172 (234.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14230 bytes 2340529 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14230 bytes 2340529 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 242753 bytes 37396053 (35.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 247180 bytes 246664033 (235.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14230 bytes 2340529 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14230 bytes 2340529 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 242838 bytes 37411122 (35.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 247245 bytes 246672393 (235.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14230 bytes 2340529 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14230 bytes 2340529 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 243135 bytes 37445074 (35.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 247706 bytes 247240611 (235.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14230 bytes 2340529 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14230 bytes 2340529 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 243225 bytes 37460340 (35.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 247771 bytes 247249000 (235.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14230 bytes 2340529 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14230 bytes 2340529 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 243319 bytes 37476589 (35.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 247834 bytes 247257315 (235.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14230 bytes 2340529 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14230 bytes 2340529 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 243611 bytes 37509974 (35.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 248308 bytes 247842187 (236.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14236 bytes 2340889 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14236 bytes 2340889 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 243708 bytes 37526184 (35.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 248372 bytes 247850445 (236.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14237 bytes 2340949 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14237 bytes 2340949 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 244019 bytes 37563914 (35.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 248875 bytes 248442699 (236.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14240 bytes 2341121 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14240 bytes 2341121 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 244141 bytes 37584381 (35.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 248968 bytes 248455407 (236.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14244 bytes 2341329 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14244 bytes 2341329 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 244435 bytes 37617184 (35.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 249455 bytes 249065693 (237.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14244 bytes 2341329 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14244 bytes 2341329 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 244515 bytes 37631720 (35.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 249518 bytes 249073838 (237.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14244 bytes 2341329 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14244 bytes 2341329 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 244814 bytes 37665369 (35.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 249995 bytes 249666332 (238.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14244 bytes 2341329 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14244 bytes 2341329 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 244912 bytes 37681945 (35.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 250060 bytes 249674677 (238.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14244 bytes 2341329 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14244 bytes 2341329 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 245013 bytes 37698505 (35.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 250117 bytes 249682444 (238.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14244 bytes 2341329 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14244 bytes 2341329 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 245315 bytes 37732370 (35.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 250601 bytes 250285366 (238.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14244 bytes 2341329 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14244 bytes 2341329 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 245415 bytes 37748585 (35.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 250667 bytes 250293913 (238.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14244 bytes 2341329 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14244 bytes 2341329 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 245699 bytes 37780697 (36.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 251134 bytes 250876883 (239.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14244 bytes 2341329 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14244 bytes 2341329 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 245791 bytes 37796058 (36.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 251201 bytes 250885396 (239.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14249 bytes 2341629 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14249 bytes 2341629 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 245915 bytes 37816799 (36.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 251285 bytes 250897555 (239.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14257 bytes 2342077 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14257 bytes 2342077 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 246241 bytes 37855218 (36.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 251809 bytes 251519937 (239.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14257 bytes 2342077 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14257 bytes 2342077 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 246331 bytes 37870619 (36.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 251868 bytes 251527971 (239.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14257 bytes 2342077 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14257 bytes 2342077 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 246633 bytes 37904009 (36.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 252349 bytes 252125313 (240.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14257 bytes 2342077 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14257 bytes 2342077 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 246730 bytes 37920003 (36.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 252409 bytes 252133230 (240.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14257 bytes 2342077 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14257 bytes 2342077 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 246827 bytes 37936045 (36.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 252470 bytes 252141342 (240.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14257 bytes 2342077 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14257 bytes 2342077 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 247132 bytes 37969600 (36.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 252957 bytes 252744536 (241.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14257 bytes 2342077 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14257 bytes 2342077 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 247234 bytes 37985763 (36.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 253019 bytes 252752659 (241.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14257 bytes 2342077 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14257 bytes 2342077 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 247560 bytes 38020781 (36.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 253506 bytes 253350227 (241.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14257 bytes 2342077 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14257 bytes 2342077 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 247652 bytes 38036387 (36.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 253568 bytes 253358528 (241.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14257 bytes 2342077 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14257 bytes 2342077 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 247766 bytes 38056814 (36.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 253656 bytes 253370802 (241.6 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14263 bytes 2342405 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14263 bytes 2342405 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 248072 bytes 38090547 (36.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 254141 bytes 253971008 (242.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14267 bytes 2342645 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14267 bytes 2342645 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 248164 bytes 38105849 (36.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 254205 bytes 253979279 (242.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14270 bytes 2342825 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14270 bytes 2342825 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 248464 bytes 38139620 (36.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 254692 bytes 254592505 (242.7 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14270 bytes 2342825 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14270 bytes 2342825 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 248584 bytes 38160780 (36.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 254784 bytes 254605093 (242.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14270 bytes 2342825 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14270 bytes 2342825 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 248676 bytes 38176127 (36.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 254842 bytes 254612966 (242.8 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14270 bytes 2342825 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14270 bytes 2342825 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 248985 bytes 38210670 (36.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 255331 bytes 255213486 (243.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14270 bytes 2342825 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14270 bytes 2342825 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 249082 bytes 38226990 (36.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 255393 bytes 255221701 (243.3 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14270 bytes 2342825 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14270 bytes 2342825 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 249397 bytes 38261287 (36.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 255861 bytes 255800489 (243.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14270 bytes 2342825 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14270 bytes 2342825 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 249489 bytes 38276648 (36.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 255925 bytes 255808856 (243.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14270 bytes 2342825 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14270 bytes 2342825 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 249613 bytes 38296995 (36.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 256004 bytes 255820422 (243.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14276 bytes 2343153 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14276 bytes 2343153 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 249918 bytes 38330901 (36.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 256494 bytes 256418621 (244.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14276 bytes 2343153 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14276 bytes 2343153 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 250009 bytes 38346732 (36.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 256550 bytes 256426294 (244.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14276 bytes 2343153 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14276 bytes 2343153 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 250279 bytes 38378037 (36.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 256979 bytes 256946028 (245.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14276 bytes 2343153 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14276 bytes 2343153 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 250383 bytes 38394397 (36.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 257034 bytes 256953650 (245.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14282 bytes 2343513 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14282 bytes 2343513 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 250478 bytes 38410091 (36.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 257096 bytes 256961804 (245.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14283 bytes 2343573 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14283 bytes 2343573 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 250769 bytes 38445355 (36.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 257538 bytes 257473328 (245.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14283 bytes 2343573 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14283 bytes 2343573 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 250872 bytes 38461943 (36.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 257608 bytes 257482283 (245.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14283 bytes 2343573 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14283 bytes 2343573 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 251136 bytes 38492691 (36.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 258024 bytes 257989450 (246.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14283 bytes 2343573 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14283 bytes 2343573 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 251221 bytes 38507705 (36.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 258084 bytes 257997614 (246.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14283 bytes 2343573 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14283 bytes 2343573 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 251316 bytes 38523778 (36.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 258150 bytes 258006112 (246.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14286 bytes 2343745 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14286 bytes 2343745 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 251607 bytes 38559253 (36.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 258578 bytes 258499902 (246.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14289 bytes 2343901 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14289 bytes 2343901 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 251701 bytes 38574830 (36.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 258640 bytes 258508076 (246.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14289 bytes 2343901 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14289 bytes 2343901 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 251963 bytes 38605374 (36.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 259043 bytes 258998518 (247.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14289 bytes 2343901 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14289 bytes 2343901 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 252062 bytes 38621646 (36.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 259107 bytes 259006969 (247.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14289 bytes 2343901 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14289 bytes 2343901 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 252154 bytes 38637280 (36.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 259168 bytes 259015232 (247.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14289 bytes 2343901 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14289 bytes 2343901 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 252423 bytes 38668296 (36.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 259589 bytes 259525648 (247.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14295 bytes 2344261 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14295 bytes 2344261 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 252525 bytes 38684511 (36.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 259652 bytes 259533905 (247.5 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14296 bytes 2344321 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14296 bytes 2344321 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 252816 bytes 38719966 (36.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 260091 bytes 260041886 (247.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14296 bytes 2344321 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14296 bytes 2344321 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 252909 bytes 38735728 (36.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 260159 bytes 260050665 (248.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14296 bytes 2344321 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14296 bytes 2344321 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 253005 bytes 38751217 (36.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 260214 bytes 260058284 (248.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14296 bytes 2344321 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14296 bytes 2344321 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 253286 bytes 38786202 (36.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 260659 bytes 260561195 (248.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14302 bytes 2344649 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14302 bytes 2344649 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 253386 bytes 38802589 (37.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 260722 bytes 260569550 (248.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14302 bytes 2344649 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14302 bytes 2344649 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 253654 bytes 38833728 (37.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 261150 bytes 261086672 (248.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14302 bytes 2344649 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14302 bytes 2344649 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 253752 bytes 38849707 (37.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 261207 bytes 261094403 (248.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14302 bytes 2344649 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14302 bytes 2344649 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 253847 bytes 38865396 (37.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 261268 bytes 261102524 (249.0 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14302 bytes 2344649 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14302 bytes 2344649 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 254104 bytes 38895490 (37.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 261670 bytes 261585523 (249.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14302 bytes 2344649 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14302 bytes 2344649 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 254206 bytes 38911987 (37.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 261738 bytes 261594367 (249.4 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14302 bytes 2344649 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14302 bytes 2344649 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 254483 bytes 38943595 (37.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 262160 bytes 262109171 (249.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14307 bytes 2344949 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14307 bytes 2344949 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 254577 bytes 38959107 (37.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 262218 bytes 262116991 (249.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14309 bytes 2345069 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14309 bytes 2345069 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 254689 bytes 38978690 (37.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 262307 bytes 262129165 (249.9 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1000 (Boucle locale)\n RX packets 14309 bytes 2345069 (2.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14309 bytes 2345069 (2.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/14/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/14042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in history = [resp for resp in gen] if allow_redirects else [] File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects **adapter_kwargs File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out'))